r157
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r156--r157
https://github.com/mrdoob/three.js/milestone/70?closed=1
- Global
- AnimationUtils
- Camera
- Color
- CubeCamera
- CurvePath
- Return
this
inclosePath()
. #26697 (@Mugen87) - Use correct line type in
closePath()
. #26850 (@GuoBinyong)
- Return
- Fog
- Make sure
name
can be serialized/deserialized. (@ycw)
- Make sure
- LightProbe
- Remove
AmbientLightProbe
andHemisphereLightProbe
. #26715 (@WestLangley)
- Remove
- Material
- MaterialLoader
- RenderTarget
- Refactor default constructor parameters. #26775 (@linbingquan)
- Shaders
- WebGLProgram
- Add
USE_ANISOTROPY
toprefixVertex
. (@uma-neko)
- Add
- WebGLRenderer
- Support "Linear Display P3" working color space and "Display P3" unlit rendering. #26644 (@donmccurdy)
- Introduce
USE_LIGHT_PROBES
define. #26768 (@Mugen87)
- WebGLTextures
Documentation
- Improve
Fog
page. #26792 (@ycw) - Improve
Material
page. #26664 (@donmccurdy) - Improve
MeshPhysicalMaterial
page. #26753 (@Ameobea) - Improve Chinese translation. #26693, #26701, #26728, #26855 (@sdarpeng, @Junior2Ran, @SADYX)
- Improve
Libraries and Plugins
guide. #26723, #26722, #26819, #26828 (@marwie, @trusktr, @isaac-mason) - Document default value of
userData
properties. #26799 (@tim-we)
Examples
- Clean up. #26678, #26706, #26800, d6c8dd0, 1c85c95 (@WestLangley, @epreston, @sunag, @mrdoob)
- Remove import maps polyfill. #26836 (@marcofugaro)
- Rename some WebGPU Compute examples. #26845 (@sunag)
-
3DMLoader
-
BufferGeometryUtils
- Shift the hash bin to avoid missing neighbors in
mergeVertices()
. #26746 (@gkjohnson)
- Shift the hash bin to avoid missing neighbors in
-
DragControls
-
GLTFExporter
- Simplify inner cone angle equation. #26787 (@WestLangley)
-
GLTFLoader
-
LDrawLoader
-
LightProbeGenerator
-
LineMaterial
- User getter/setter syntax. #26720 (@LeviPesin)
-
NodeMaterial
- Clean up
HashNode
, cite original authorship. #26695 (@LeviPesin) - Export viewport and minor fixes. #26698 (@aardgoose)
- Add
Line2
support. #26704 (@aardgoose) - Consume
labels()
when used, to prevent duplicate uniform names. #26822 (@aardgoose) - Fix
context.material
reference inRenderNodes
. #26838 (@sunag) - Rename
TextureNode.getTextureMatrix()
togetTransformedUV()
. #26839 (@sunag) - Rename
construct()
tosetup()
. #26840 (@sunag) - Add support for other formats in
StorageTexture
. #26842 (@sunag) - Fix
addNodeClass()
andaddNodeMaterial()
in case of renaming classes. #26846, #26858 (@LeviPesin)
- Clean up
-
RGBELoader
-
Sky
- Use
cameraPosition
uniform instead of world origin in sky shader. #26766 (@StrandedKitty)
- Use
-
TSL
-
USDZLoader
- Distinguish between text (supported) and binary (not supported) usd files and fix UV parsing. #26709 (@hybridherbst)
- Load metallic, roughness, emissive, occlusion textures and fix color spaces. #26710 (@hybridherbst)
- Switch to
MeshPhysicalMaterial
and add initial clearcoat/clearcoatRoughness/ior support. #26713 (@hybridherbst) - Fix index array type. #26751 (@GitHubDragonFly)
- Added texture scale + offset + rotation support. #26861 (@GitHubDragonFly)
-
WebGPURenderer
- Invert viewport/scissor y coords. #26730 (@aardgoose)
- dFdy vs dpdy #26776 (@aardgoose)
- Add
StorageTexture
. #26769 (@sunag) - Texture fixes for WebGL backend. #26797 (@aardgoose)
- CCW FrontFace as default. #26807 (@sunag)
- Basic render to texture support for WebGL backend. #26801 (@aardgoose)
- Support
textureCompare()
operations in WebGL backend. #26823 (@aardgoose) - Fix
flipY
example. #26843 (@sunag) - Fix multi-material in
WebGLNodeBuilder
. #26841 (@sunag)
Editor
- Fix style error when resizing the sidebar. #26703 (@linbingquan)
- Add
clearcoatMap
andclearcoatRoughnessMap
. #26712 (@hybridherbst) - Fix camera transform when using select in Firefox. #26717 (@Mugen87)
- Add serialization support for
modelviewer
environment. #26718 (@Mugen87) - Fix
CapsuleGeometry
parameter. #26794 (@Mugen87)