Skip to content

v6.25.0

Compare
Choose a tag to compare
@vanruesc vanruesc released this 09 Mar 13:59
· 681 commits to main since this release
8489669

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.
  • Selection
    • Added toggle method.

Effects

  • Effect
    • Fixed unintentional disposal of renderer. See #353.
    • Deprecated renderer and setRenderer.
  • ChromaticAberrationEffect
    • The offset now respects the aspect ratio.
  • GlitchEffect
    • Deprecated generatePerturbationMap.
    • Replaced getGlitchColumns and setGlitchColumns with columns accessor.
    • Replaced getGlitchRatio and setGlitchRatio with ratio accessor.
  • NoiseEffect
    • Replaced isPremultiplied and setPremultiplied with premultiply accessor.
  • OutlineEffect
    • Added patternScale constructor parameter.
    • Added accessors patternScale, edgeStrength, visibleEdgeColor and hiddenEdgeColor.
  • ShockWaveEffect
    • Added accessors amplitude, waveSize and maxRadius.

Materials

  • AdaptiveLuminanceMaterial
    • Removed LinearMipMapLinearFilter import and raised minimum version of three to r107.
  • DepthComparisonMaterial
    • Changed default depth packing strategy to RGBADepthPacking. See #351.

Passes

  • Pass
    • Fixed unintentional disposal of renderer. See #353.
    • Deprecated renderer and setRenderer.
  • CopyPass
    • Replaced resize with autoResize.
  • EffectMaterial
    • Added encodeOutput and time accessors.
  • LuminanceMaterial
    • Replaced getSmoothingFactor and setSmoothingFactor with smoothing accessor.
  • SMAAMaterial
    • Replaced setLookupTextures with searchTexture and areaTexture accessors.
    • Replaced setCornerRoundingEnabled with cornerDetection accessor.
  • SSAOMaterial
    • Replaced setDistanceCutoff with distanceThreshold and distanceFalloff accessors.
    • Replaced setProximityCutoff with proximityThreshold and proximityFalloff accessors.

Textures

  • LookupTexture3D
    • Renamed to LookupTexture.

Miscellaneous

  • Updated the manual.