https://github.com/mrdoob/three.js/wiki/Migration-Guide#r131--r132
https://github.com/mrdoob/three.js/milestone/45?closed=1
- BufferGeometry
- EdgesGeometry
- Revert removal of rounding from hash computation. (@Mugen87)
- Lights
- Add
power()
getter/setters. #22298 (@WestLangley)
- Add
- MeshLambertMaterial
- Honor
physicallyCorrectLights
when using a light map. #22397 (@WestLangley)
- Honor
- MeshMatcapMaterial
- Add support for vertex tangents. #22248 (@WestLangley)
- MeshNormalMaterial
- Rename vertex and fragment shaders. #22277 (@WestLangley)
- MeshPhongMaterial
- Added vertex tangent support. #22264 (@WestLangley)
- MeshPhysicalMaterial
- Promote
ior
to a material property. #22238 (@WestLangley) - Move transmission uniforms into shader chunk. #22278 (@WestLangley)
- Remove duplicated varying. #22279 (@WestLangley)
- Support specular attenuation of environment maps. #22319 (@WestLangley)
- Fix double application of transmission factor. #22331 (@WestLangley)
- Properly compute specular attenuation of transmission. #22336 (@WestLangley)
- Rename
.sheen
to.sheenTint
. #22381, #22385 (@WestLangley) - Improve clearcoat energy conservation. #22389 (@WestLangley)
- Update version for certain transmission changes. #22379, #22443 (@Mugen87, @mrdoob)
- Promote
- MeshStandardMaterial
- Remove roughness-dependent Fresnel from environment lighting. #22308 (@WestLangley)
- PMREMGenerator
- Clean up. #22274 (@Mugen87)
- Correctly reset the background. #22311 (@gkjohnson)
- Remove calls of
convertSRGBToLinear()
. #22318 (@Mugen87) - Remove extra conversion to RGBE color. #22327 (@gkjohnson)
- Properly dispose of background material. #22338 (@WestLangley)
- PropertyBinding
- WebGLCubeUVMaps
- Fix
onTextureDispose()
. #22386 (@OndrejSpanel)
- Fix
- WebGLMaterials
- WebGLProgram
- WebGLRenderer
- Clean up shaders and better naming conventions. #22234, #22263, #22288, #22296, #22313, #22361, #22363, #22367, #22372, #22373, #22374, #22375, #22391, #22415 (@WestLangley)
- Simplify envmap encoding logic. #22233 (@WestLangley)
- Removed unused
MAXIMUM_SPECULAR_COEFFICIENT
constant. #22240, #22250 (@mrdoob, @sunag) - Added new shader chunks for tangent support. #22269, #22271 (@WestLangley)
- Fixed transmission shader crash in WebGL1 and no
EXT_shader_texture_lod
. #22309 (@mrdoob) - Update the Schlick formula signature. #22316 (@WestLangley)
- Add uv transform support for transmission and thickness maps. #22364 (@zeux)
- Enable mat2/3/4 attribute in shader. #16141 (@takahirox)
- Remove artist-friendly factor of PI from shaders. #22393 (@WestLangley)
- Reset current material in
.setRenderTarget()
. #22395 (@Mugen87, @takahirox) - Only use
clearcoat
chunks when clearcoat > 0. #22405 (@mrdoob) - Turn
alphaTest
into a uniform. #22409 (@mrdoob) - Ignore alpha in
output_fragment
when usingNoBlending
. #22424 (@mrdoob) - Refactored render loop and fix transmission in VR. #22426 (@mrdoob)
- Add support for GLTF opaque alpha_mode. #22428 (@mrdoob)
- Added transmission alpha support. #22425 (@mrdoob)
- WebGLRenderTarget
- Ensure
internalFormat
is set on texture. #22344, 814b851 (@gkjohnson, @mrdoob)
- Ensure
- WebGLTextures
- WebGLShadowMap
- Add support for setting the number of VSM blur samples. #22272 (@gkjohnson)
- Add support for rendering shadows with displacement maps. #22287 (@gkjohnson)
- Add support for rendering shadows with alpha maps and alpha test. #22410 (@mrdoob)
- WebXRManager
Documentation
- Improved Chinese translation. #22291, #22328, #22358 (@puxiao, @linbingquan)
- Improved
Box3
andSphere
page. #22317 (@puxiao) - Improved
Plane
page. #22329 (@puxiao) - Improved
Matrix4
page. #22310 (@puxiao) - Improved
WebGLRenderer
page. 4f41e12 (@mrdoob) - Update
dispose()
return type. #22237 (@servinlp) - Improve description of light intensity and power units. #22299 (@WestLangley)
- Fix typos. #22433 (@saintmalik)
Examples
- Removed
webgl_materials_envmas_parallax
example. #22369 (@mrdoob) - Removed
webgl_materials_parallaxmap
example. #22370 (@mrdoob - Removed
webgl_materials_shaders_fresnel
example. #22215 (@mrdoob) - Removed
webgl_loader_gltf_extensions
example. #22276 (@mrdoob) - Removed
webxr_vr_lorenzattractor
example. #22315 (@mrdoob) - Convert utils files to esmodules. #22284, #22270, #22305, #22306 (@marcofugaro)
- Added transmission to
webgl_furnace_test
example. #22335. #22349 (@WestLangley) - Fixes and cleanup in
webxr_vr_layers
example. #22325 (@felixmariotto) - Improved
webgl_postprocessing_crossfade
example. b834b55 (@mrdoob) - Improved
webgl_loader_lwo
example. f4601f3 (@mrdoob) - Improved
webgl_shadowmap_vsm
example. 74bf45a (@mrdoob) - Improved
webgl_animation_multiple
example. #22429 (@samueldg)
-
BufferGeometryUtils
- Allow tree-shaking. #22267, #22304 (@marcofugaro)
-
CSS3DRenderer
- Add support for
CSS3DSprite
with parent scale. #22235 (@GiuseppeRaso)
- Add support for
-
FBXLoader
- Clean up. f2eb381 (@mrdoob)
- Check for
null
textures. #22239 (@camnewnham) - Can't check image until loaded. #22289 (@camnewnham)
-
GeometryCompressionUtils
-
GLTFLoader
-
IFCLoader
-
KTX2Loader
- Enable zstddec decode in web worker. (@deepkolos) #21984
- Warn on outdated Basis library. (@donmccurdy) #22314
-
LDrawLoader
- Improve smooth normal generation performance. #22231, #22228, #22247 (@gkjohnson)
- Improve parts library ergonomics, improve normal smoothing functionality. #22249 (@gkjohnson)
- Parallelize parts library downloads to improve load times. #22253 (@gkjohnson)
- Fix scenario where geometry was not getting smoothed. #22261 (@gkjohnson)
-
NodeMaterial
-
RGBELoader
- Fix
numElements
loop. #22390, 3a2f592 (@OndrejSpanel, @mrdoob)
- Fix
-
SelectionBox
- Add support for InstancedMesh. #22399, b88cb7f (@steviebaa, @mrdoob)
-
TGALoader
-
WebGPURenderer
Editor
Tests