r138
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r137--r138
https://github.com/mrdoob/three.js/milestone/51?closed=1
- Global
- FileLoader
- Added workaround for Alipay browser's bug. #23548 (@neciszhang)
- Material
- Clean up
toJSON()
. #23438 (@linbingquan)
- Clean up
- PMREMGenerator
- Texture
- Vector3
- Add
setFromEuler()
, removeEuler.toVector3()
. #23494 (@WestLangley)
- Add
- WebGLCubeRenderTarget
- WebGLMultipleRenderTargets
- WebGLRenderer
- Enable blending when
Material.blending
is not set toNormalBlending
. #23416 (@gkjohnson) - Refactor creation of transmission render target. #23450, #23452, #23460, #23465 (@Mugen87, @mrdoob, @haxiomic, @marcofugaro)
- Remove
WebGLMultisampleRenderTarget
. #23455, #23611, #23644 (@Mugen87) - Fixed transmission rendering when using
ArrayCamera
. #23491 (@mrdoob) - Honor alpha definition in custom rendering context. #23504 (@Mugen87)
- Add support for morphing vertex colors. #23523 (@Mugen87)
- Enable blending when
- WebGLRenderTarget
- WebGLTextures
Documentation
- Clean up. #23345, #23383, #23553, #23532, #23529, #23557 (@Mugen87, @bergden-resonai, @ycw)
- Improve
BoxGeometry
page. #23530 (@Mugen87 - Improve
Color
page. #23369 (@stevinz) - Improve
CSS3DRenderer
page. #23567 (@SadmanYasar) - Improve
GLTFLoader
page. #23417 (@takahirox) - Improve
Raycaster
page. #23500 (@linbingquan) - Improve
RectAreaLight
page. #23469 (@puxiao) - Improved
SkinnedMesh
page. #23423, #23422 (@makc) - Improve
Useful-links
page. #23396, 23409 (@PratikDev, @Mugen87) - Improve
Vector*
pages. #23437 (@Mugen87) - Improve Chinese translation. #23445, #23457, #23487, #23518, #23545 (@jovey-zheng)
- Add missing Korean pages to
list.json
. #23391 (@Mugen87) - Add some missing API. #23510 (@Mugen87)
- Use
<p>
for supporting paragraphs. #23522 (@ycw) - Add missing
.is*
flag. #23565 (@ycw)
Manual
- Don't use
GammaEncoding
. #23364 (@Mugen87) - Remove outdated patterns in code examples. #23377, #23387, #23388, #23390 (@Mugen87)
- Refactor import maps support in live editor. #23373 (@greggman)
- Avoid usage of minimum pixel ratio. #23489 (@Mugen87)
- Remove outdated
OrbitControls.enableKeys
. #23472 (@r00ster91) - Improve Chinese translation. #23501 (@ZacharyQin)
Examples
- Clean up. #23395, #23426, #23485, #23503, #23535 (@Mugen87, @sunag, @WestLangley, @vHeemstra)
- Add vertex colors to
misc_exporter_ply
example. #23375 (@gkjohnson) - Add vertex colors to
misc_exporter_collada
example. #23384 (@gkjohnson) - Allow tree-shaking for curves. #23402 (@marcofugaro)
- Ensure
CCDIKHelper
is exported. #23404 (@abernier) - Rework UI of exporter examples. #23405 (@Mugen87)
- Remove
VRMLoader
. #23414 (@mrdoob) - Remove old node material. #23418, #23454 (@Mugen87)
- Properly set draw range in
webgl_gpgpu_birds_gltf
example. #23435 (@jure) - Fix style issue in
flow
. #23439 (@Mugen87) - Fix
DOMException
when trying to use XR inside an iframe. #23174 (@hybridherbst) - Add multisampling support to
Reflector
/Refractor
. #23444 (@Mugen87) - Add
OctreeHelper
. #23481 (@carlssonk, @Mugen87) - Add
EXRExporter
. #23541 (@sciecode) - Fix GUI in wide line examples. #23540 (@bergden-resonai)
- Move new node material to
./jsm/nodes/
. #23560 (@sunag) - Improve
webgl_cubemap_dynamic
example. 944aeb1 (@mrdoob)
-
3MFLoader
-
ColladaExporter
- Convert linear vertex and material colors to sRGB. #23400 (@gkjohnson)
-
ColladaLoader
- Add sRGB support. #23401 (@gkjohnson)
-
CSS2DRenderer
- Fix sorting regression. #23360, #23594 (@bergden-resonai, @Mugen87)
- Add support for
renderOrder
. #23456 (@brucedjones)
-
GLTFExporter
- Always use
image/png
as mime type. #23385 (@donmccurdy) - Fix
buildORMTexture()
. #23463 (@takahirox)
- Always use
-
GLTFLoader
- Allow textures which share the image source. #23420 (@takahirox)
- Fix color space for certain texture types. #23630 (@Mugen87)
-
HTMLMesh
-
NodeEditor
-
NodeMaterial
- Add support for serialization/deserialization. #23314 (@sunag)
- Add
analyze()
to optimization and validation. #23475 (@sunag) - Add more functions to
ShaderNode
. #23539 (@LeviPesin) - Add type conversions to
ShaderNode
. #23544 (@LeviPesin)
-
OBJExporter
- Convert vertex colors to sRGB. #23374 (@gkjohnson)
-
OBJLoader
- Convert vertex colors to linear. #23340 (@gkjohnson)
-
PointerLockControls
- Add
.pointerSpeed
. #23516 (@ChrisCrossCrash)
- Add
-
PLYExporter
- Convert vertex colors to sRGB. #23399 (@gkjohnson)
-
PLYLoader
- Convert vertex colors to linear. #23342 (@gkjohnson)
-
SVGLoader
-
WebGPURenderer
- Remove deprecated WGSL syntax. #23393, #23394 (@webglzhang, @takahirox)
- Fix
Texture.image !== null
inWebGPUTextures
. #23436 (@sunag) - Update to latest WebGPU API. #23483 (@sunag)
Editor
- Clean up. #23477 (@linbingquan)
Tests