r135
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r134--r135
https://github.com/mrdoob/three.js/milestone/48?closed=1
- Layers
- Add
isEnabled()
. #22825 (@felixmariotto, @Mugen87) - Fix internal mask when using
.set()
. #22867 (@1337816495)
- Add
- MathUtils
- MeshPhysicalMaterial
- Use
0
asthickness
default. #22762 (@Mugen87) - Fix clearcoat shader computation. #22839 (@WestLangley)
- Use
- StereoCamera
- Avoid unnecessary call of
.clone()
. #22830 (@WestLangley)
- Avoid unnecessary call of
- WebGLProgram
- WebGLRenderer
- Remove
__maxMipLevel
. #22788 (@Mugen87) - Add
data-engine="three.js r${REVISION}"
to the canvas element. #22792 (@mrdoob) - Disable usage of
SRGB8_ALPHA8
. #22759 (@Mugen87) - Check if
_canvas
hassetAttribute()
before calling it. fe71b47 (@mrdoob) - Remove LogLuv encoding from the shaders. #22876 (@WestLangley)
- Remove
- WebGLTexture
- WebGLUniforms
- Add setters for arrays of 3D textures and 2D texture arrays. #22847 (@jonaskordt)
- WebXRManager
Documentation
- Remove pages about internals. #22775 (@Mugen87)
- Explain flatness of
values
parameter of keyframe tracks. #22766 (@jcamp0x2a) - Clarify
Object3D.attach()
limitations. #22821 (@WestLangley) - Improved Chinese translation. #22831 (@moshuying)
- Fix typo in
TransformControls
page. #22840 (@tonybfox)
Manual
Examples
- Clean up. #22763, #22768, #22798, #22832, #22829, #22835, #22834, #22880 (@linbingquan, @Mugen87, @moshuying, @WestLangley)
- Rename CSM frustum class. #22752 (@Mugen87)
- Replaced
dat.gui
withlil-gui
. #22765 (@georgealways) - Use
undefined
instead ofvoid
ornull
. #22794, #22796, #22797 (@Mugen87) - Consistent documentation of
return this
. #22799 (@Mugen87) - Fix WebXR hand pointer examples. #22815 (@dmliao)
- Add out of bounds check to
games_fps
example. #22877 (@Uueuuuuu)
-
3DMLoader
-
3MFLoader
-
ArcballControls
-
DragControls
- Added .getRaycaster(). #22851, #22855, c547a74 (@draibolit, @Mugen87)
-
GLTFExporter
- Add
.parseAsync()
#22755 (@marcofugaro) - Add
KHR_materials_clearcoat support
. #22761 (@Mugen87) - Add
onError
parameter to.parse()
. #22774 (@marcofugaro)
- Add
-
GLTFLoader
- Add
.parseAsync()
. #22754 (@marcofugaro) - Honor morph targets when using lines. #22771 (@mfernba)
- Add
-
Line2
- Support raycasting with orthographic cameras. #22791 (@gkjohnson)
-
LineMaterial
-
LogLuvLoader
-
LWOLoader
-
NodeMaterial
-
OrbitControls
-
PLYLoader
-
SVGLoader
- Make
createShapes()
retain curves. #22778 (@georgpukk)
- Make
-
USDZExporter
-
WebGPURenderer
- Fix
bgra
constants. #22795 (@takahirox) - More efficient texture updates. #22869 (@Mugen87)
- Fix
Editor