New
r173
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r172--r173 https://github.com/mrdoob/three.js/milestone/86?closed=1
- Global
- Clean up. #30383 (@s-rigaud)
- BatchedMesh
- Fix bug in
deleteGeometry(). #30304 (@jonathanzopes)
- Fix bug in
- ChainMap
- Avoid a redundant internal weak map. #30258 (@ycw)
- ConstNode
- Optimize indexes. #30388 (@sunag)
- EventDispatcher
- Obtain
_listenersbeforeifblock. #30328 (@erasta)
- Obtain
- Geometries
- Reuse
arrayNeedsUint32()from core. #30408 (@Mugen87)
- Reuse
- GLSLNodeBuilder
- Fix usage of flat qualifier. #30428 (@Mugen87)
- ImageUtils
- Always use
image/pngingetDataURL(). #30336 (@Mugen87)
- Always use
- Line
- Fix index on intersection. #30424 (@jonathanzopes)
- NodeBuilder
- Rename
.monitorto.observer. #30354 (@sunag)
- Rename
- NodeBuilderState
- Update description. #30355 (@sunag)
- Nodes
- Optimize
getCacheKey(). #30259 (@Mugen87) - Fix recursion with environment nodes. #30277 (@Mugen87, @sunag)
- Optimize
- NodeMaterialObserver
- Detect geometry exchange. #30409 (@Mugen87)
- NodeUtils
- Simplify
getCacheKey(). #30303 (@Mugen87)
- Simplify
- PMREMGenerator
- Don't pollute node material scope. #30324 (@Mugen87)
- PointsNodeMaterial
- Improve implementation, replace
InstancedPointsNodeMaterial. #30300 (@sunag)
- Improve implementation, replace
- PostProcessing
- Allow usage with more than one instance. #30279 (@Mugen87)
- RenderContexts
- Introduce
getForClear(). #30256 (@Mugen87) - Add missing properties. #30286 (@Mugen87)
- Introduce
- Renderer
- Fix viewport configuration of
ArrayCamera. #30298 (@Mugen87) - Remove outdated comment. #30306 (@Mugen87)
- Introduce
colorBufferType. #30425 (@Mugen87)
- Fix viewport configuration of
- RenderObject
- Fix geometry key for morph targets. #30302 (@Mugen87)
- Improve cache key computation when rendering shadows. #30316 (@Mugen87)
- TSL
- Fix optional parameter in
Fn(). #30293 (@sunag) - Rename
varying()totoVarying(),vertexStage()totoVertexStage(). #30356 (@sunag) - Add
mat2support. #30364, #30368 (@RenaudRohlinger) - Add missing
atomicLoadsupport. #30371 (@RenaudRohlinger) - Add matrix operations support for floats. #30370 (@RenaudRohlinger)
- Introduce
array(). #30386 (@sunag) - Introduce
struct(). #30394, #30426 (@sunag, @Spiri0)
- Fix optional parameter in
- VarNode
- Fix
getMemberType()reference. #30427 (@sunag)
- Fix
- VideoFrameTexture
- Add new class for WebCodecs API. #30270 (@Mugen87, @maddanio)
- Add
isVideoFrameTextureflag. #30381 (@ycw)
- WebGLBackend
- Fix
ArrayCamerapixel ratio. #30338 (@sunag) - Fix context parameter. #30413 (@Mugen87)
- Fix depth formats. #30422 (@Mugen87, @cabanier)
- Fix
- WebGLBackground
- Reset meshes in
dispose(). #30257 (@Mugen87)
- Reset meshes in
- WebGPUAttributeUtils
- Fix i16a/u16a patch. #30264 (@ycw)
- WebGPUBackend
- Fix Timestamp Query. #30299 (@ycw)
- WebGPURenderer
- Reduce memory churn when using chain maps. #30249 (@Mugen87)
- Introduce
.toConst(),Const(),Var(). #30251 (@RenaudRohlinger, @sunag) - Rename
timeStampQuerySettotimestampQuerySet. #30289 (@ycw) - Derives timestamp buffer size from
BigUint64Array. #30290 (@ycw) - Fix Occlusion Query logic. #30288 (@ycw, @sunag)
- Fix shadow regression. #30307 (@RenaudRohlinger)
- Add
.outputTypebackend parameter. #30320 (@donmccurdy) - Fix clear alpha in
WebGLBackend. #30329 (@RenaudRohlinger) - Improve
ArrayCameraperformance and fix uniforms. #30313, #30337 (@sunag) - Enable dynamic resizing of the cameras array of
ArrayCamera. #30353 (@sunag) - Introduce
TimestampQueryPool. #30359, #30375, #30393 (@RenaudRohlinger)
- WebGPUTextureUtils
- Improve
_copyImageToTexture(). #30260 (@ycw)
- Improve
- WebXRManager
- Do not try to init
WebXRDepthSensingwith cpu-optimized depth. #30241 (@dli7319) - Further improvements to WebXR layers feature testing. #30282 (@toji)
- Safely check for
XRWebGLBinding. #30319 (@zonkypop)
- Do not try to init
- XRManager
- Add XR manager for
WebGPURenderer. #30346, #30348, #30349, #30358 (@Mugen87) - Add layers support. #30365, #30417 (@Mugen87)
- Add MSAA support. #30378, #30418 (@Mugen87)
- Add XR manager for
- XRRenderTarget
- Add new render target type for XR. #30369 (@Mugen87)
Manual
- Fix
OrbitControlsusage in Offscreen Canvas demo. #29983 (@Arecsu) - Improve Chinese translation. #30294 (@evolify)
Docs
- Add documentation of
WebGPURendererand related modules. #30244, #30246, #30250 (@Mugen87) - Improve
BatchedMeshandInstancedMeshpage. #30362 (@gkjohnson) - Improve
BlendModesmodule. #30322 (@Mugen87) - Improve
ConvexGeometrypage. #30399 (@erasta) - Improve
LineMaterialpage. #29864 (@nyan-left) - Improve
Matrix4page. #30276 (@Mugen87) - Improve
RawShaderMaterialpage. #30431 (@atul-mourya) - Improve
Scenepage. #30357 (@Serum0017) - Improve
Texturepage. #30285 (@jirihon) - Improve
Color Managementguide. #30281 (@donmccurdy) - Make use of
@deprecatedtag in JSDoc. #30284 (@s-rigaud) - Improve JSDoc types. #30271, #30272, #30317, #30318, #30323, #30325, #30280, #30372, #30287, #30382 (@Mugen87, @s-rigaud)
Examples
- Clean up. #30248, #30331, #30332, #30419 (@Methuselah96, @Mugen87)
- Improve
webgpu_lights_ies_spotlightexample. #30243 (@mrdoob, @sunag) - Fix glossy material in
webgl_geometry_teapotexample. #30253 (@erich666) - Add raycaster helper external demo. #30262 (@Mugen87, @abernier, @gsimone)
- Add
webgpu_camera_arrayexample. #30296, #30297 (@Mugen87) - Fix video decoder stalls issue in
webgpu_video_frameexample. #30385 (@ycw) - Combine LUT with coffee smoke demo. #30390 (@Mugen87)
Addons
-
CCDIKSolver
- Fix algorithm broken link. #30266 (@satelllte)
-
GLTFLoader
- Remove redundant decay assignment. #30411 (@s-rigaud)
- Improve existing JSDoc. #30412 (@s-rigaud)
-
InteractiveGroup
- Add
disconnect(). #29975 (@bbsimong, @Mugen87)
- Add
-
MeshGouraudMaterial
- Deprecate module. #30314 (@Mugen87)
-
OutputPass
- Support
THREE.CustomToneMapping. #30335 (@samposoft)
- Support
-
TextGeometry
- Remove deprecated code. #30315 (@Mugen87)
-
TSLEncoder
- Fix transpilation issues. #30410 (@Mugen87)
-
WaterMesh
- Improve lighting support. #30247 (@sunag)