r126
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r125--r126
https://github.com/mrdoob/three.js/milestone/39?closed=1
Source
- Global
- More usage of ES6 classes. #21206, #19985, #21229, #21235, #21232, #21231, #21266, #21285, #21293, #20013, #20100, #20102, #20014, #20009, #21319, #21327, #21342, e7ba155, 5df56b8, 6100437, 330b186, 81487f2, e9e9bcd (@mrdoob, @Mugen87, @DefinitelyMaybe, @linbingquan, @ianpurvis)
- Remove TypeScript type declaration files. #21174, #21197 (@mrdoob, @Mugen87)
- Remove obsolete code in
Three.Legacy.js
. #21181, #21219, #21310 (@Mugen87, @mrdoob) - Added
"sideEffects": false
inpackage.json
. #21313 (@mrdoob) - Removed
polyfills.js
. #21314, 0c81502 (@mrdoob) - Stop IE support. #21344, b4b24e3, d401181, 676115e (@mrdoob, @Mugen87)
- CubeCamera
- Simplify
update()
. #21331 (@linbingquan)
- Simplify
- Face3
- ImageBitmapLoader
- Add support for request headers. #21283 (@gkjohnson)
- Material
- Matrix3
- Mesh
- Check
Matrial.skinning
before applying bone transform inraycast()
. #20830 (@zach-capalbo)
- Check
- Object3D
- Fix world matrix update bug in
.attach()
. #20759 (@takahirox)
- Fix world matrix update bug in
- Quaternion
- Raycaster
- SkinnedMesh
- UniformUtils
- WebGLCubeRenderTarget
- WebGLRenderer
- Add workaround for Adreno GPUs
gl_FrontFacing
bug. #21205, #21307 (@mrdoob) - Fix extension warnings. #21204 (@Mugen87)
- Add possibility to bind 3D textures and 2D textures array as color attachment to framebuffer. #20111, #21243, dfaed95, 341aa56, effe04b (@DavidPeicho, @mrdoob)
- Add
.copyTextureToTexture3D()
. #21244 (@DavidPeicho) - Replace
perturbNormal()
implementation with a more robust version. #21299 (@zeux) - Stop default color space conversion. #21336 (@takahirox)
- Add workaround for Adreno GPUs
- WebGLRenderLists
- WebGLState
Documentation
- Improved Chinese translation. #21163, #21215, #21226 (@1993heqiang, @arthur7921, @buglas)
- Improved
Creating a scene
page. #21216 (@bukzor) - Improved
GLTFLoader
andGLTFExporter
pages. #21261, #21262, #21275, #21277 (@takahirox, @eltociear) - Improved
Installation
page. #21258 (@Mugen87) - Improved
SpriteMaterial
page. #21176 (@cloud9c) - Improved
WebGLRenderTarget
page. #21306, #21308 (@gsimone, @Mugen87) - Improved
Useful links
page. #21218 (@leonsbuddydave) - Fix broken example links. #21180 (@Mugen87)
- Fix broken link to
ImageBitmap
MDN documentation. #21291 (@gonnavis)
Examples
- Clean up. #21184, #21191, #21296, #21335, #21349, 3960123 (@Mugen87, @schmijos, @mrdoob)
- Regenerate RGBM textures. #21173 (@Mugen87)
- Fix
toJSON()
methods for certain node material classes. #21211 (@Mugen87) - Added
misc_exporter_usdz
example. #21251 (@mrdoob) - Simplify
webgl_instancing_scatter
example. #21250 (@Mugen87) - Removed some not so useful examples. #21252, 2dbcb41 (@mrdoob)
- Fix copyright link in
webgl_loader_gltf_variants
example. #21276 (@takahirox) - Make mirror examples resizable. #21297, 1880f08 (@gonnavis, @mrdoob)
- Remove superfluous texture settings in (S)SAO pass. #21329 (@gonnavis)
- Updated
fflate
to 0.6.2 and removedfflate-deflate
. 388d909 (@mrdoob) - Add
SSRPass
andwebgl_postprocessing_ssr
example. #20156 (@gonnavis) - Add
webxr_ar_lighting
example. #20876, c63bdaf (@toji, @mrdoob)
-
3DMLoader
-
AnaglyphEffect
-
BufferGeometryUtils
-
CSS2DRenderer/CSS3DRenderer
-
GLTFExporter
-
GLTFLoader
- Make error when loading textures with no data clear. #21177 (@zeux)
- Revert usage of
.computeTangents()
. #21186 (@Mugen87) - Add before/afterRoot hook points. #21207 (@takahirox)
- Remove support for
MSFT_texture_dds
. #21271 (@donmccurdy) - Fix bug when loading external WebP texture #21282 (@gkjohnson)
-
NRRDLoader
- Improved gzip detection code. #21213 (@IsseiMori)
-
SVGLoader
-
USDZExporter
- Added textures support. #21245, #21247, b397418 (@mrdoob)
- Reduce vector precision. e35432a (@mrdoob)
- Added
uv2
warning. 4ad0d3c (@mrdoob) - Removed unnecessary lines. d92ea73 (@mrdoob)
- Improved resizing code. 1e210ac (@mrdoob)
- Implemented 64byte alignment. 8000053 (@mrdoob)
- Define emissiveColor only when required. ec77181 (@mrdoob)
- Clean up. ff0e2e1 (@mrdoob)
- Resize textures to 1024 by default. aa5bb10 (@mrdoob)
- Improved material parameter nodes. d5326ca (@mrdoob)
- Fixed exporting Xforms with duplicated names. ac377cf (@mrdoob)
- Added
material.emissive
support. d1de1f0 (@mrdoob) - Fixed normals. ddc530d (@mrdoob)
-
VOXLoader
-
VRMLLoader
-
WebGPURenderer
- Fix uniform
updateVector4()
. #21160 (@sunag) - All UBOs and varyings are generated by node material now. #21170 (@sunag)
- Update to latest WebGPU API. #21194, #21345 (@Mugen87)
- More node classes and bug fixes. #21208 (@sunag)
- Rename
ModelViewProjectionMatrixNode
toModelViewProjectionNode
. #21253 (@sunag) - Set material dispose listener only once. #21346 (@Mugen87)
- Fix material compile per object and new instance uniform example. #21350 (@sunag)
- Fix uniform
Editor
- Clean up. #21325 (@1993heqiang)
- Call
.dispose()
on textures. #21159 (@Mugen87) - Refactor UI classes. 794af18, 76ac160, 2f30e75, c513508, a501950, 4885b4c, e5139eb, 6b3b9d6 (@mrdoob)
- Allow negative light intensity. f1fb6ee (@mrdoob)
- Added
ffmpeg.wasm
video renderer. #21221 (@mrdoob) - Add center option. #21340 (@Mugen87)
- Rescued VR mode. #21351, 292e51c, 292e51c (@mrdoob)
Tests
- Add
BufferAttribute.toJSON()
unit test. #21225 (@takahirox)