r152
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r151--r152
https://github.com/mrdoob/three.js/milestone/65?closed=1
- Global
- Add
three.module.min.js
to npm package. #25778, #25828 (@Beilinson, @marcofugaro)
- Add
- AudioLoader
- Trigger error callback when
decodeAudioData
fails. #25784 (@luisfonsivevo)
- Trigger error callback when
- BufferGeometry
- Color
- Clean up. #25833 (@LeviPesin)
- Fix rounding errors in
getHex()
andgetStyle()
. #25832 (@LeviPesin)
- ColorManagement
- Enable by default. #25866 (@donmccurdy)
- MaterialLoader
- Honor
clipping
andlights
properties. #25891 (@tfreifeld)
- Honor
- Object3D
- Shaders
- SkinnedMesh
- Texture
- Replace
encoding
withcolorSpace
. #25771 (@donmccurdy)
- Replace
- WebGLMultipleRenderTargets
- WebGLRenderer
- Remove inline sRGB decode of video textures. #25752 (@donmccurdy)
- Replace
outputEncoding
withoutputColorSpace
. #25756 (@donmccurdy) - Default output to sRGB. #25783 (@donmccurdy)
- Sort on bounding sphere center, not origin. #25913 (@donmccurdy)
- Add support for
uv3
anduv4
. #25788 (@mrdoob) - Only update skeletons in frustum. #25937 (@ashconnell)
- WebGLRenderTarget
- Replace
encoding
withcolorSpace
. #25771 (@donmccurdy) - Honor
scissor
properties incopy()
. #25805 (@Mugen87)
- Replace
- WebGLShadowMap
- Fix shadow map types changes. #25847, #25863 (@digitalArt3DTobias, @jostschmithals, @Mugen87)
- WebGLState
- Fix
bindTexture()
does not have fallback for 2D array and 3D textures. #25758 (@RenaudRohlinger)
- Fix
- WebXRManager
Documentation
- Clean up. #25795, #25799, #25808, #25814, #25817, #25827, #25931, 12e6b0b (@vinaykulk621, @Mugen87, @mrdoob)
- Improve
BufferGeometry
page. #25824, #25834 (@abernier, @Mugen87) - Improve
BufferGeometryUtils
page. #25813 (@makc) - Improve
Triangle
page. #25749 (@donmccurdy) - Improve
WebGLRenderer
page. #25745 (@Mugen87) - Improve
Creating a scene
guide. #25806 (@Mugen87) - Improve
Updating resources
guide. #25804 (@Mugen87) - Improve
WebGL compatibility
guide. #25761, #25762 (@0xAxiome, @Mugen87) - Improve Chinese translation. #25775, #25777, #25794, #25896 (@newstart0514, @Gerocer)
- Update Color Management related pages. #25792 (@Mugen87)
- Remove
Testing with npm
guide. #25807 (@Mugen87) - Use color management in scene browsers. #25816 (@Mugen87)
- Clean up color space references. #25922 (@donmccurdy)
- Improve color space constant documentation. #25939 (@donmccurdy)
Manual
Examples
- Clean up. #25753, #25739, 50993b2 (@timgates42, @hybridherbst, @mrdoob)
- Refactor
webgl_loader_bvh
example. #25763, #25811 (@Mugen87, @mattrossman) - Added
XRButton
. #25781 (@mrdoob) - Update
webgpu_loader_gltf
to matchwebgl_loader_gltf
. #25812 (@mrdoob) - Fix wireframe toggle in
webgl_loader_md2
example. #25838 (@NFSS10) - Remove redundant event listener in
webgl_camera_cinematic
example. #25869 (@TheRedLancer) - Upgrade
three-gpu-pathtracer
inwebgl_renderer_pathtracer
example. #25879 (@gkjohnson) - Adjust lego pathtraced materials in
webgl_renderer_pathtracer
example. #25883 (@gkjohnson) - Add
physics_rapier_instancing
example. #25892, 39936f7 (@mrdoob) - Remove
physics_oimo_instancing
example. #25895 (@mrdoob) - Use color management in more examples. #25818, #25844, #25851, #25849, #25858, #25868, #25873, #25882, #25889, #25907, #25912 (@donmccurdy, @Mugen87)
- Improve WebGPU error message. 124e7cc, db4d089, f9035d8 (@mrdoob)
- Improve dragging, paint and sculpt WebXR examples. 3977930 (@mrdoob)
- Improve
webxr_xr_haptics
example. e0a631f, 443cb7d (@mrdoob) - Add floor clipping to
webxr_xr_dragging
example. 724b00b (@mrdoob) - Implement simpler floor clipping technique in XR examples. 0f81064 (@mrdoob)
-
BufferGeometryUtils
-
EffectComposer
-
EXRLoader
- Default to Linear-sRGB. #25854 (@donmccurdy)
-
Flow
-
GLTFExporter
- Support multiple UV sets. #25843 (@donmccurdy)
-
HDRCubeTextureLoader
- Default to Linear-sRGB. #25856 (@donmccurdy)
-
HTMLMesh
- Render image at the correct position. #25916, #25930 (@vincentfretin)
-
KTX2Loader
- Add WebGPU support. #25867 (@Mugen87)
- Prefer traditional
for
loop. #25929 (@RenaudRohlinger)
-
NodeMaterial
- Clean up. #25768, #25860 (@LeviPesin)
- Fix equirectUV background. #25842 (@sunag)
-
NRRDLoader
- Fix spacing issue when loading 16 bit images. #25767 (@LinkunGao)
-
OBJLoader
- Clarify comment skips. #25906 (@hamirmahal)
-
PLYLoader
-
RGBELoader
- Default to Linear-sRGB. #25853 (@donmccurdy)
-
SkeletonUtils
-
WebGPURenderer
- New cache system. #25750 (@sunag)
- Set labels of some WebGPU objects. #25773, #25785, #25801 (@takahirox)
- Add
DepthTexture
support. #25766, #25886, #25890 (@sunag, @Mugen87) - Upload texture in the same frame if possible and clean up. #25821 (@sunag)
- Shadows node-based. #25822 (@sunag)
- Add basic support for ETC2 compressed textures. #25864 (@Mugen87)
- Add basic support for ASTC compressed textures. #25865, #25876 (@Mugen87)
- Request all supported GPU features. #25875, #25885 (@Mugen87)
- Introduce
hasFeature()
. #25878 (@Mugen87) - Make work without
three/nodes
. #25904 (@sunag) - Backdrop Node - Part 1/3. #25903 (@sunag)
- Improve vertex format support and revisions. #25924, #25934 (@sunag)
Editor
Tests
- Add missing constants to unit test. #25810 (@Mugen87)
- Update sizes message of CI. #25826 (@marcofugaro)
- Update Chromium version of E2E tests. #25840 (@LeviPesin)
- Increase E2E timeout from 15 to 20 minutes. #25880 (@LeviPesin)