r179
https://github.com/mrdoob/three.js/wiki/Migration-Guide#178--179 https://github.com/mrdoob/three.js/milestone/92?closed=1
- Global
- Optimize CI workflow by eliminating redundant setup steps. #31383 (@souhailaS)
- BatchedMesh
- Fix
setInstanceCount(). #31458 (@andreas-hilti)
- Fix
- PassNode
- Add
compileAsync(). #31501 (@Mugen87) - Provide viewport and scissor API. #31390, #31428 (@Mugen87)
- Add
- ProjectorLight
- Fix back-projection. #31473, #31474 (@Mugen87)
- Line2NodeMaterial
- Remove unused
lineWidthproperty. #31401 (@Jenychen1996)
- Remove unused
- Line3
- Add method for computing closest squared distance between line segments. #31384 (@TheBlek, @Mugen87)
- Loader
- Add
abort(). #31276 (@Mugen87, @gkjohnson)
- Add
- MaterialXNodes
- Improved MaterialX import support to align with Blender's MaterialX exporter. #31439 (@bhouston, @sunag)
- Matrix4
- Rewrite
makeOrthographic()for clarity. #31451 (@WestLangley)
- Rewrite
- NodeMaterial
- Make sure fog is applied only once. #31463 (@Mugen87)
- NodeMaterialObserver
- Add checking the lights. #31440 (@sunag)
- NodeUtils
- Ignore private sub properties in
getNodeChildren(). #31523 (@Mugen87, @sunag)
- Ignore private sub properties in
- Renderer
- Make info log evaluation more robust. #31438 (@Mugen87)
- SkeletonHelper
- Add
setColors(). #31484 (@lukehorvat)
- Add
- StorageTexture
- Add
.setSize(). #31502 (@sunag)
- Add
- Timer
- Move into core. #31385 (@Mugen87)
- TSL
- Double-check on the parents of the atomic functions to prevent errors. #31509 (@sunag)
- Add
load()function totexture(). #31510 (@sunag) - Introduce boolean for
uniform(). #31507 (@sunag) - Sequential object as parameters for Fn( { .. } ). #31498 (@sunag)
- Rename
label()tosetName(). #31490, #31546 (@Mugen87, @sunag) - Add
debug()for the stack when running outside the code flow. #31486 (@sunag) - Introduce automatic use of
toVar()toassign(). #31459 (@sunag) - Introduce
computeKernel(). #31402 (@Spiri0, @sunag) - Fix
pass()build duringsample()call usingMesh. #31431 (@sunag) viewportTexture()cacheFramebufferTextureaccording toRenderTarget. #31343 (@sunag)- Introduce events. #31514 (@sunag)
- Fix blocky gaussian blur. #31528 (@NoxDawnsong)
- VideoTexture
- Cancel rVFC on Dispose. #31375 (@ycw)
- WebGLRenderer
- Improve reversed depth buffer support. #31508, #31495, #31499, #31496, #31500, #31464, #31481, #31466, #31370, #31391, #31426, #31410, #31405, #31407, #31512 (@WestLangley, @CodyJasonBennett, @sunag)
- Support MRT for 2d array textures. #31476 (@mrxz)
- WebGPUBackend
- Remove obsolete argument from
getDrawingBufferSize(). #31460 (@Mugen87) - Fix manual
clear()regression. #31388 (@Mugen87)
- Remove obsolete argument from
- WebGPURenderer
- Improve and fix texture bindings manager. #31497 (@sunag)
SampledTextureextends ofSamplerfor bindings. #31494 (@sunag)- Persistent video texture approach. #31416, #31425, #31423 (@sunag, @Mugen87)
- Avoid hardcoding color spaces. #31519 (@Mugen87)
- Explicitly set
colorSpacefor video textures. #31534 (@ycw)
- WebGPUUtils
- Ensure sample count is valid. #31352 (@ycw)
- WebXRManager
- Set glBinding separately from layer creation. #31443 (@mikeskydev)
- Disable left eye layer for right eye camera and vice versa. #31437 (@mrxz)
- Add Raw Camera Access module. #31487, #31543 (@mikeskydev, @Mugen87)
Docs
- Clean up. #31447, #31450 (@s-rigaud)
- Add
KTX2Exporterpage. #31441 (@mkeblx) - Add
USDZExporterpage #31417 (@mkeblx) - Improve
AnimationClippage. #31415 (@Mugen87) - Improve
KeyframeTrackpage. #31373 (@floriandotorg) - Improve
Texturepage. #31477 (@agargaro) - Improve Korean translation. #31344 (@sonwonjae)
- Improve JSDoc. #31475, #31380, #31341, #31529, #31535 (@powah, @Mugen87, @WestLangley, @cmhhelgeson)
Examples
- Clean up. #31504, #31483, #31485, #31412, #31411, #31379, 827a421c0fad4f4cc5c4be12bef62568459aa435 (@Mugen87, @WestLangley, @linbingquan, @mrdoob)
- Improved
webgpu_reflectionexample. #31409, #31372 (@mrdoob, @Mugen87) - Add
webgpu_postprocessing_dof_basic. #31445 (@Mugen87) - Upgrade meshopt_decoder.module.js to 0.22. #31449 (@zeux)
- Switch to
OrbitControlsinwebgl_shadowmapexample. #31406 (@WestLangley) - Improve AA approach in WebGPU water demo. #31354 (@Mugen87)
- Use
onLoad()inwebgpu_materials. #31362 (@andyleiserson) - Add
webgpu_compute_texture_3dexample. #31337 (@RenaudRohlinger) - Rename import from
threetothree/webgpuin WebGPU demos. #31518 (@sunag) - Add GUI to
webgpu_loader_materialxexample. #31530 (@WestLangley) - Improve WebGPU SSR example. #31539 (@mrdoob)
- Improve MaterialX example. #31541, d71fc3874e846b63960355f25c44c1a5315c9314 (@mrdoob)
- Improve WebGPU reflection example. 5e919439cc0362c6b32fa1f493aaba0315b22579 (@mrdoob)
- Improve transpiler example. 0688cb08bf181e1d7e6367a04a4c89c8b3cdc5bf ba0568f4f51644ec2b6c81e177bd4a1ad4c1db52 (@mrdoob)
Addons
-
EXRLoader
- Added lossyDctChannelDecode. #31482 (@mrdoob)
- Introduces output-format API. #31511 (@sciecode)
- Set color space to linear-sRGB. #31525 (@WestLangley)
-
FBXLoader
- Fix vertex color check. #31420 (@Mugen87)
-
GTAOPass
- Improve cache performance. #31454 (@querielo)
- Exclude
Line2objects from AO calculation #31422 (@wyc001122)
-
HTMLMesh
- Add support for email and password inputs. #31345 (@HuangLinBao)
-
LensflareMesh
- Use
colorNodeinstead offragmentNode. #31433 (@Mugen87)
- Use
-
LightProbeGenerator
- Support
FloatTypeinfromCubeRenderTarget(). #31349 (@Mugen87)
- Support
-
OutlinePass
- Exclude Line2 objects from outline computation. #31503 (@pwlviolet)
-
RapierPhysics
- Support
RoundedBoxGeometry. #31351 (@linbingquan)
- Support
-
RoomEnvironment
- Set
emissiveIntensityinstead. #31348 (@WestLangley)
- Set
-
RoundedBoxGeometry
- Add type, parameters and
toJSON(). #31340 (@vis-prime)
- Add type, parameters and
-
SSAOPass
- Improve cache performance. #31453 (@querielo)
-
TRAANode
- New TRAA implementation. #31421 (@Mugen87, @sunag)
-
TTFLoader
- Fix when TTF has different unicode assign to same glyph index. #31386 (@Rikahei)
-
TSL Transpiler
- Fix operator precedence of GLSLDecoder. #31515 (@sunag)
-
USDZExporter
- Add option for
onlyVisible. #31489 (@mkeblx) - Export scene hierarchy. #31448 (@mkeblx)
- Use object names #31442, #31444 (@mkeblx)
- Refactor to use two stages. #31400 (@mkeblx)
- Add option for
Tests
- Clean up
Frustumtests. #31456 (@WestLangley) - Add test for
USDZExporter. #31435 (@mkeblx)
Editor
- Fix crash when geometry lacks position attribute. #31334 (@AlexRynas)
- Add support for EXR files. 01d3c943f0452ff856b4bdd162f4c86bd67dc2ee (@mrdoob)
- Load image loaders only when needed. 2f3dd3822cb270b422dae55153f69dfffd08ff85 (@mrdoob)