r172
版本发布时间: 2024-12-31 17:54:06
mrdoob/three.js最新发布版本:r172(2024-12-31 17:54:06)
https://github.com/mrdoob/three.js/wiki/Migration-Guide#r171--r172 https://github.com/mrdoob/three.js/milestone/85?closed=1
- Global
- Remove deprecated code. #30004 (@Mugen87)
- Clean up. #30078, #30119, #30138, #30143, #30176 (@s-rigaud, @ycw)
- CameraHelper
- Fix usage with WebGPU. #30136 (@AlaricBaraou)
- ConditionalNode
- Fix setup process. #30229 (@sunag)
- GaussianBlurNode
- Fix custom uv #30232 Merged
- LightsNode
- Fix cache key. #30045 (@Mugen87, @sunag)
- Line2NodeMaterial
- Fix usage of optional nodes. #30107 (@s-rigaud)
- LineDashedNodeMaterial
- Fix node references. #30175 (@ycw)
- Node
- Add
customCacheKey()
. #30062 (@sunag) - Ensure that the child nodes are processed first for events. #30228 (@sunag)
- Add
- Nodes
- Ensure
getBackgroundNode()
andgetEnvironmentNode()
only return nodes. #30169 (@Mugen87)
- Ensure
- NodeUtils
- Add
getDataFromObject()
. #30171 (@sunag)
- Add
- PMREMGenerator
- Fix
fromScene()
back-side materials. #30063 (@sunag)
- Fix
- PropertyBinding
- Fix versioning scheme determination. #30054 (@Mugen87)
- ReflectorNode
- Force
autoClear
. #30199 (@sunag) - No cache event if
bounces=false
. #30231 (@sunag)
- Force
- RendererUtils
- Honor fog. #30178 (@Mugen87)
- ShadowBaseNode
- Fix CSM
shadowWorldPosition
. #30060 (@sunag)
- Fix CSM
- ShadowNode
- Fix
updateMatrices
sequence. #30064 (@sunag) - Ensure background does not influence shadow map. #30170 (@Mugen87)
- Fix
- SkinningNode
- Fix previousBoneMatrices. #30161 (@sunag)
- TextureNode
- Rename
uv()
tosample()
. #30061 (@sunag) - Fix matrix update. #30200 (@sunag)
- Improve error message. #30215 (@sunag)
- Rename
- TSL
- Improve fog approach. #30080, #30092 (@sunag)
- Add
texture_depth_multisampled_2d
forwgslFn
. #30082 (@sunag) - Fix
positionWorld
used inmaterial.positionNode
andfragment-stage
. #30105 (@sunag) - Vertex shader revision. #30108, #30147 (@sunag)
- Add missing export. #30129 (@Methuselah96)
- Overloaded
atan2
toatan
. #30131 (@sunag) - More consistent names
shadowPositionWorld
,materialAO
. #30152 (@sunag) - GLSL alias functions. #30150 (@sunag)
- Add
vertexStage()
function. #30173 (@sunag) - Use correct
elementType
withWorkgroupInfoNode
. #30222 (@RenaudRohlinger
- UniformArrayNode
- Add support for
mat2
,mat3
andmat4
types. #30051 (@holtsetio) - Fix
getNodeType()
. #30058 (@sunag)
- Add support for
- UniformGroup
- Delete unused file. #30002 (@Mugen87)
- WebGLRenderer
- Add transmission render target scale. #30018 (@michaeldll)
- Allow for binding and rendering into a 2d render target mipmap. #29844 (@gkjohnson)
- WebGLTextureUtils
- Fix typo. #30238 (@boytchev)
- WebGPURenderer
- Fix filterable depth textures. #30023 (@sunag)
- Revert
onSubmittedWorkDone
usage in timestamp queries. #30031 (@RenaudRohlinger) - Add
onBeforeShadow()
andonAfterShadow()
. #30032 (@RenaudRohlinger) - Fix blending opacity in shadows. #30081 (@sunag)
- Fix support for non-indexed
BatchedMesh
. #30084 (@RenaudRohlinger) - Fix hardware clipping issues. #30083 (@RenaudRohlinger)
- Fix
getArrayBufferAsync()
inWebGPUBackend
. #30132 (@RenaudRohlinger) - Rename
PostProcessingUtils
toRendererUtils
. #30172 (@sunag) - Fix and improve the dynamic updating of the scene nodes cache. #30180 (@sunag)
- Introduce
RenderTarget3D
andRenderTargetArray
. #30155 (@RenaudRohlinger) - Disable fog in shadow-material. #30204 (@sunag)
- Fix
depthTest
with enabled logarithmic depth buffer. #30214 (@sunag) - Respect TypedArray in
StorageInstancedBufferAttribute
. #30218 (@RenaudRohlinger)
- WebXRManager
- Improve WebXR layers feature testing. #30112 (@toji)
- WGSLNodeBuilder
- Sampler for compute shader. #30033 (@Spiri0)
Manual
- Improve post processing guide. #30098 (@ChenKuan1110)
- Update material feature table. #30164 (@s-rigaud)
Docs
- Add JSDoc config. #29984, #30076 (@Mugen87, @s-rigaud)
- Improve documentation of the new node material. #29984, #30000, #30001, #30009, #30013, #30012, #30020, #30025, #30027, #30037, #30041, #30038, #30046, #30049, #30055, #30067, #30075, #30079, #30087, #30093, #30095, #30100, #30103, #30109, #30110, #30115, #30117, #30123, #30135, #30137, #30142, #30153, #30157, #30159, #30163, #30167, #30162 (@Mugen87, @s-rigaud, @sunag, @cmhhelgeson)
- Improve documentation of
WebGPURenderer
and related modules. #30182, #30188, #30194, #30213, #30221, #30224 (@Mugen87) - Improve
ConvexHull
page. #30239 (@ycw) - Improve
Loader
page. #29999 (@NeelDigonto) - Improve
Material
page. #30043, #30059, #30121, #30118, #30233, #30235 (@borisghidaglia, @Mugen87) - Improve Chinese translation. #30205 (@puxiao)
- Improve French translation. #30019 (@s-rigaud)
- Fix code blocks occasionally lacking white-space in Firefox. #30036 (@mrxz)
Examples
- Clean up. #29997, #30015, #30106, #30146, #30145, #30144 (@s-rigaud)
- Remove MMD modules. #30003 (@Mugen87)
- Add
webgpu_lines_fat_raycasting
example. #30030 (@RenaudRohlinger) - Add background to
webgpu_pmrem_scene
. #30116 (@Spiri0) - Restore
webgpu_compute_audio
. #30139 (@sunag) - Removing antialias from
webgpu_backdrop_water
. #30206 (@sunag)
Addons
-
DDSLoader
- Add 24 bit uncompressed RGB support. #30010 (@sam6321)
-
LineSegments2
- Fix
raycast()
. #30016 (@Samsy)
- Fix
-
OrbitControls
- Add
keyRotateSpeed
. #29988 (@bbsimong)
- Add
-
TiledLightsNode
- Fix cache-key performance. #30130 (@sunag)
Tests
Node Editor
- Improve imports. #29998 (@linbingquan)
Editor
- Fix vertex normals helper regression. #30069 (@Mugen87)
- Add Farsi language. #30196 (@pkpedram)
- Derives language labels using
Intl.DisplayNames
. #30237 (@ycw)