# Three.js r176 - Product: Three.js (https://whatsnew.fyi/product/three-js) - Vendor: Three.js - Date: 2025-04-23 - Version: r176 - Original notes: https://github.com/mrdoob/three.js/releases/tag/r176 - Permalink: https://whatsnew.fyi/product/three-js/releases/r176 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- Changes to check: - **Removed:** `Luminance and LuminanceAlpha format` (inferred by a model) - **Signature changed:** `CapsuleGeometry` → `height` (inferred by a model) - **Behavior changed:** `material.transparent` (inferred by a model) - **Signature changed:** `debug()` → `( builder, code )` (inferred by a model) - **Deprecated:** `LottieLoader` (inferred by a model) - **removed** — Remove legacy code - **removed** — Remove Luminance and LuminanceAlpha format - **changed** — Replace ArrowHelper cylinder with cone geometry - **fixed** — Fix ReferenceError in Animation in non-browser environment - **fixed** — Make sure background nodes can be disposed of - **fixed** — Fix BatchedMesh toJSON() and ObjectLoader integration - **added** — Add heightSegments parameter to CapsuleGeometry - **changed** — Change CapsuleGeometry length param to height and fix UVs - **fixed** — Fix ExtrudeGeometry regression introduced with last release - **fixed** — Honor spotlight maps in LightsNode cache key - **fixed** — Fix alpha of vertex-color in NodeMaterial - **fixed** — Force NodeMaterialObserver refresh when rendering velocity - **fixed** — Fix RenderTarget depth texture assignment regression - **fixed** — Inherit camera.layers in ShadowNode only if shadow.camera.layers is not set - **fixed** — Don't flip normals in TSL when using flat shading - **fixed** — Fix frontFacing in TSL when using material.flatShading - **added** — Add dFdx and dFdy warnings to TSL - **added** — Show shader stage in TSL debug() message - **fixed** — Fix blur() on Framebuffer in TSL - **fixed** — Fix bitangent* in TSL when using material.flatShading - **fixed** — Fix instance() optional parameter in TSL https://github.com/mrdoob/three.js/wiki/Migration-Guide#r175--r176 https://github.com/mrdoob/three.js/milestone/89?closed=1 - Global - Remove legacy code. #30821 (@Mugen87) - Remove Luminance and LuminanceAlpha format. #30934 (@gkjohnson) - ArrowHelper - Replace cylinder with cone geometry. #30867 (@shlomnissan) - Animation - Fix ReferenceError in non-broswer environment. #30835 (@chirsz-ever) - Background - Make sure background nodes can be disposed of. #30938 (@Mugen87) - BatchedMesh - Fix `toJSON()`, `ObjectLoader` integration. #30965 (@gkjohnson) - CapsuleGeometry - Add `heightSegments` parameter. #30868 (@mkeblx) - Change length param to height, fix UVs. #30915 (@mkeblx) - ExtrudeGeometry - Fix regression introduced with last release. #30822 (@mlasala45) - LightsNode - Honor spotlight maps in cache key. #30940 (@Mugen87) - NodeMaterial - Fix alpha of vertex-color. #30974 (@sunag) - NodeMaterialObserver - Force refresh when rendering velocity. #30840 (@Mugen87) - RenderTarget - Fix depth texture assignment regression. #30921 (@Spiri0) - ShadowNode - Inherit camera.layers only if shadow.camera.layers is not set. #30877 (@RenaudRohlinger) - TSL - Don't flip normals when using flat shading. #30823 (@Mugen87, @sunag) - Fix `frontFacing` when using `material.flatShading`. #30828 (@sunag) - Add `dFdx` and `dFdy` warnings. #30831 (@sunag) - Show shader stage in `debug()` message. #30833 (@sunag) - Fix `blur()` on Framebuffer. #30845 (@RenaudRohlinger) - Fix `bitangent*` when using `material.flatShading`. #30837 (@sunag) - Fix `instance()` optional parameter. #30848 (@sunag) - Introduce `varying.setInterpolation()`. #30582 (@cmhhelgeson, @sunag) - Fix optional `Fn` parameters. #30884 (@sunag) - Fix `texture()` matrix sync. #30893 (@sunag) - Fix early-z rejection. #30891 (@sunag) - Add `increment()` and `decrement()` and fix unsual `for()` expression syntax for transpiler. #30912 (@Mugen87, @sunag) - Fix `dispose()` when using `reflector()`. #30933 (@Mugen87) - Fix and improve `bvec` operators. #30922 (@sunag) - Fix `debug()` changes the compiled code. #30944 (@sunag) - Add switch/case. #30935 (@Mugen87) - Add expression support for `loop( { update: ... } )`. #30947 (@sunag) - Add `Stack()` and `.toStack()`. #30956 (@sunag) - Cache `getShadowRenderObjectFunction()`. #30969 (@sunag) - Fixes the return value of `atomic*` nodes. #30971 (@sunag) - Auto-cache `atomic*` nodes. #30972 (@sunag) - Fix `denoise()` sampler texture. #30975 (@sunag) - Improve `debug()` callback changing to `( builder, code )` signature. #30976 (@sunag) - VelocityNode - Fix initial value of previous model matrix. #30839 (@Mugen87) - WebGLRenderer - Fix binding `__webglFramebuffer` when mipmaps are used. #30746 (@haxiomic) - Support `alphaToCoverage` with shadows. #30871 (@Mugen87) - WebGPURenderer - Introduce Shadow Map Array. #30830 (@RenaudRohlinger) - Introduce compatibilityMode. #30854, #30869, #30875 (@sunag) - Disable draw call when `object.count = 0`. #30881 (@cmhhelgeson) - Make `material.transparent` behave as in WebGLRenderer. #30862 (@rkreis-v) - Add Multiview support. (@cabanier) - Introduce `renderer.highPrecision`. #30970 (@sunag) - WGSLNodeBuilder - Improve `isCustomStruct()` checking. #30525 (@Spiri0) - XRManager - Request reference space for both layers and non layers. #30902 (@danrossi) **Docs** - Clean up. #30888, #30927, #30978 (@rizzler329842, @notgod6, @arcs-) - Simplify JSDoc output directory. #30815 (@Mugen87) - Fix typos and types. #30843, #30874, #30880, #30879 (@s-rigaud) - Improve `SkinningNode`. #30852 (@Mugen87) - JSDoc: Add import section for addons. #30853, #30860 (@Mugen87) - Improve Chinese translation. #30887 (@linzhou559) **Examples** - Clean up. #30820, #30979 (@Mugen87, @Methuselah96) - Added additional Rapier physics examples. #30818 (@NikLeve _[Truncated at 4000 characters — full notes: https://github.com/mrdoob/three.js/releases/tag/r176]_