v6.25.0
Requires three ≥ 0.107.0 < 0.139.0
Attention: Inheritance of legacy classes such as DataTexture3D
is broken in three
r138 (mrdoob/three.js#23612) and will be fixed in r139 (mrdoob/three.js#23621). It's recommended to skip r138 if you use LUTEffect
.
Changelog
Following #349, the getter and setter methods that were introduced in 6.24.0
have been replaced by accessor properties. Methods of the form getFoo
and setFoo
are now properties of the form foo
with some exceptions listed below. For details see 387d5b0, f98d002, 276ee71, de14746, 07617b6, 87f1083, 55f5d39, d5c91e2.
Core
- EffectComposer
- It's no longer necessary to use
HalfFloatType
buffers for sRGB workflows. See 0bf4407. - Handled removal of
WebGLMultisampleRenderTarget
. - Timer auto reset behaviour will now be restored on reset.
- It's no longer necessary to use
- Selection
- Added
toggle
method.
- Added
Effects
- Effect
- Fixed unintentional disposal of
renderer
. See #353. - Deprecated
renderer
andsetRenderer
.
- Fixed unintentional disposal of
- ChromaticAberrationEffect
- The offset now respects the aspect ratio.
- GlitchEffect
- Deprecated
generatePerturbationMap
. - Replaced
getGlitchColumns
andsetGlitchColumns
withcolumns
accessor. - Replaced
getGlitchRatio
andsetGlitchRatio
withratio
accessor.
- Deprecated
- NoiseEffect
- Replaced
isPremultiplied
andsetPremultiplied
withpremultiply
accessor.
- Replaced
- OutlineEffect
- Added
patternScale
constructor parameter. - Added accessors
patternScale
,edgeStrength
,visibleEdgeColor
andhiddenEdgeColor
.
- Added
- ShockWaveEffect
- Added accessors
amplitude
,waveSize
andmaxRadius
.
- Added accessors
Materials
- AdaptiveLuminanceMaterial
- Removed
LinearMipMapLinearFilter
import and raised minimum version ofthree
to r107.
- Removed
- DepthComparisonMaterial
- Changed default depth packing strategy to
RGBADepthPacking
. See #351.
- Changed default depth packing strategy to
Passes
- Pass
- Fixed unintentional disposal of
renderer
. See #353. - Deprecated
renderer
andsetRenderer
.
- Fixed unintentional disposal of
- CopyPass
- Replaced
resize
withautoResize
.
- Replaced
- EffectMaterial
- Added
encodeOutput
andtime
accessors.
- Added
- LuminanceMaterial
- Replaced
getSmoothingFactor
andsetSmoothingFactor
withsmoothing
accessor.
- Replaced
- SMAAMaterial
- Replaced
setLookupTextures
withsearchTexture
andareaTexture
accessors. - Replaced
setCornerRoundingEnabled
withcornerDetection
accessor.
- Replaced
- SSAOMaterial
- Replaced
setDistanceCutoff
withdistanceThreshold
anddistanceFalloff
accessors. - Replaced
setProximityCutoff
withproximityThreshold
andproximityFalloff
accessors.
- Replaced
Textures
- LookupTexture3D
- Renamed to LookupTexture.
Miscellaneous
- Updated the manual.