https://github.com/mrdoob/three.js/wiki/Migration-Guide#r126--r127
https://github.com/mrdoob/three.js/milestone/40?closed=1
- Core
- More usage of ES6 features. #21407, #21545 (@beginor, @linbingquan)
- Add
test-treeshakescript. #21437 (@marcofugaro) - Remove some deprecated methods. #21450 (@marcofugaro)
- BufferAttribute
- Add
.name,.usage,.updateRangeserialization. #21279 (@takahirox)
- Add
- BufferGeometry
- EventDispatcher
- Remove target references after event dispatch. #18564 (@aardgoose)
- ImageUtils
- InstancedMesh
- Honor instanceColor in
.toJSON()andObjectLoader. #21486, 2f1fa4e (@Michael4d45, @mrdoob)
- Honor instanceColor in
- InterleavedBufferAttribute
- Line/Points
- Material
- MathUtils
- PointLightShadow
- Plane
- Quaternion
- Use
Number.EPSILONin.setFromUnitVectors(). #21484 (@Mugen87, @WestLangley) - Add
.slerpQuaternions(), deprecate static.slerp(). #21532 (@Mugen87)
- Use
- RoughnessMipmapper
- Sphere
- SpotLightShadow
- WebGLBackground
- WebGLRenderer
- Move invocation of
Scene.onAfterRender(). #21362 (@Mugen87) - Add support for multiple programs per material. #20135 (@Mugen87)
- Refactor framebuffer state management. #21447, #21442, #21518 (@Mugen87)
- Release cache at the end of
.render(). #14946 (@takahirox, @Mugen87) - Remove morph target properties. #21522 (@Mugen87)
- Do not run
window.rAFwhen in XR. #21529 (@Mugen87)
- Move invocation of
- WebGLShadowMap
- WebGLState
- WebGLTextures
- Fix render texture re-uploaded on first use. #21455 (@DavidPeicho)
- WebGLUniforms
- Add unsigned vector array support for uniform. #21316 (@SuperSodaSea)
- WebXRController
Documentation
- Clean up. #21354, #21408, #21429, #21478, #21491 (@jj-plane, @Mugen87, @mcharytoniuk, @Vyse12138)
- Added
?q=support. #21460 (@mrdoob) - Call
updateFilter()only when?q=is set. #21462 (@mrdoob) - Clarify restrictions of
Texture.offsetandrepeat. #21473 (@Mugen87) - Started with Japanese translation. #21474 (@na2shell)
- Use
AudioNodeas type forAudio.filters. #21523 (@Mugen87) - Improved material browser. 5a51f73, f9a3638, ec5926a, e5e3f06, e93bffa, 9fb402c, b50ebc8 (@mrdoob)
Examples
- Clean up. #21432, #21449, #21471, #21482, #21499, #21513, #21541, #21549, 160344f, 024cfe8, 98c0604, 795a26d, 0e8e043, 02f4dff (@Mugen87, @Dvvarf, @yomboprime, @mrdoob)
- Remove calls of
stopPropagation(). #21348 (@Mugen87) - Adopt importmaps in WebGPU examples. #21364 (@mrdoob)
- Move type flags back to
prototype. #21378 (@linbingquan) - Improved
webgl_materials_wireframedemo. #21389, #21390, #21402, #21410 (@gkjohnson, @Mugen87, @mrdoob, @WestLangley) - Remove alpha option from
webgl_shaders_ocean.htmlexample. #21393 (@Mugen87) - Bump
MMDParserlib to the latest one. #21397 (@takahirox) - Better show WebGL2 error messages. #21400 (@Mugen87)
- Removed
misc_legacyexample. #21417 (@mrdoob) - Add
webgl_shadowmap_progressiveexample. #21435 (@zalo) - Remove
AssimpLoader. #21459 (@Mugen87) - Fix color values in
webgl_materials_envmaps_parallaxexample. #21363 (@1993heqiang) - Introduced
DebugEnvironment. 34519f5 (@mrdoob) - More usage of Pointer Events. #21494, #21504 (@Oletus, @Mugen87)
- Fix pixel trails in
webgl_gpgpu_protoplanetexample. #21510 (@yomboprime) - Simplify
webgl2_rendertarget_texture2darrayexample. #21520 (@Mugen87) - Replace
Event.keyCodewithEvent.code. #21409 (@puxiao) - Add post processing fullscreen triangle optimization. #21358 (@trinketmage)
-
CSS2DRenderer
- Round values used for translation (Safari-only). #21416 (@simondate)
-
DeviceOrientationControls
-
DragControls
-
FunctionNode
-
IFCLoader
-
Line2
- Add support for Alpha To Coverage. #21451 (@gkjohnson)
-
LineSegments2
- Check bounding box and bounding sphere when raycasting. #21496 (@gkjohnson)
-
LUTPass
- Fix usage with WebGL1. #21531 (@gkjohnson)
-
MMDLoader
- Improve animation system for PMX. #21395, #21398 (@takahirox, @ingbunga)
-
OutlinePass
- Ensure
renderTargetDepthBufferis resized correctly. #21436 (@Julianouyang)
- Ensure
-
ReflectorForSSRPass
-
SSRPass
-
SSRrPass
-
SVGLoader
-
TGALoader
- Derive from
DataTextureLoader. #21377 (@deepkolos)
- Derive from
-
Water
-
WebGPURenderer
Editor
- Clean up. c45fd20 (@mrdoob)
- Improved Chinese translation. #21374 (@linbingquan)
- Improved i18n. #21454 (@1993heqiang)
- Fixed
sizeandsizeAttenuationUI visibility handling. #21422 (@mrdoob) - Improved ShaderMaterial panel. #21423 (@mrdoob)
- Fixed grid depth glitches. #21430 (@mrdoob)
- Changed ffmpeg video quality setting. 3e79ce4 (@mrdoob)
- Reset time in
app.js’s.start() function. e4c5838 (@mrdoob) - Added modelviewer environment. b2dde29 (@mrdoob)
- Added
XRControllerModelFactorytosw.js. 84c4a6d (@mrdoob) - Improved video progress bar. 27def9d (@mrdoob)
- Implement cache per update. 412b99a (@mrdoob)
- Removed
3*extensions fromLoader. ca5f932 (@mrdoob) - Added IFC files support. #21551 (@mrdoob)
Tests