Skip to content

Commit 34f489d

Browse files
committed
Squashed commit of the following:
commit 21ee45044ea3ff3fcfa920cd044c0c8a9fa8b5c1 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Nov 2 19:30:33 2025 +0100 Update github/codeql-action digest to 0499de3 (#32173) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 12397542e5f05e677ce87d87f6646aecf8b0f60a Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Nov 2 19:30:21 2025 +0100 Update actions/upload-artifact action to v5 (#32174) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 65884085240521bc320d69d373aa7d90b984dd29 Author: Michael Herzog <[email protected]> Date: Sun Nov 2 15:51:28 2025 +0100 Examples: Improve BPCEM demo. (#32172) commit 3507b2b86242079ed5efb276c46dd3e3811689bc Author: sunag <[email protected]> Date: Sun Nov 2 00:05:09 2025 -0300 Examples: Fix chromatic aberration type usage of caustics example (#32169) commit aa9532172142ba7d3d5f86a5846e1085343724a5 Author: Christian Helgeson <[email protected]> Date: Sat Nov 1 10:13:22 2025 -0700 NodeBuilder: Add Missing vector types to `generateConst` (#32162) * init branch * add ivecs commit 42fe8c567e54d492b903b09c52d58cd89a451efe Author: Michael Herzog <[email protected]> Date: Sat Nov 1 11:01:44 2025 +0100 Docs: Fix ShadowNode JSDoc. (#32166) commit b3b830129671a7f763ea59e6df85e9de96451f8b Author: Michael Herzog <[email protected]> Date: Sat Nov 1 10:40:16 2025 +0100 Docs: Add missing `@private` annotation. (#32165) commit 680d8f844c63312f666fe47d93b20665680238d1 Author: mrdoob <[email protected]> Date: Sat Nov 1 14:38:32 2025 +0900 Docs: Improved search with category matching. (#32164) commit 50f79bbaa86577c27d45f132f46cf7a45c468f2b Author: Mr.doob <[email protected]> Date: Sat Nov 1 10:50:44 2025 +0900 Docs: Redirect /pages/ClassName.html to /#ClassName. commit 355ff99e62a95c37da97e6511b70e616a63881e2 Author: mrdoob <[email protected]> Date: Sat Nov 1 09:39:23 2025 +0900 Update README badges Removed DeepWiki badge from README and added jsDelivr badge. commit ff7fd61d93f46862a5cb9c2a0f76456680f55baa Author: mrdoob <[email protected]> Date: Sat Nov 1 09:23:22 2025 +0900 Matrix4: Optimize determinant() calculation (#32157) * Matrix4: Optimize determinant() calculation. * Clean up. commit 836ceeb5b361046ad0ff3560ed0a740e419943b1 Author: mrdoob <[email protected]> Date: Sat Nov 1 09:06:36 2025 +0900 Docs: Fix external links (#32161) * Docs: Fix external links. * Removed "hardcoded" target="_blank"s. * Updated docs. commit 3c2dc9dfa337cc4a3d358d558433a97642fa5bf2 Author: Renaud Rohlinger <[email protected]> Date: Sat Nov 1 08:12:25 2025 +0900 WGSLNodeBuilder: Improve `StorageTexture3D` support (#32150) * Examples: Fix compute_texture_pingpong example * WGSLNodeBuilder: Improve StorageTexture3D support commit 71349adfc233aac76e10ce1e8ba3ac2070661865 Author: Michael Herzog <[email protected]> Date: Fri Oct 31 19:31:00 2025 +0100 Update GTAONode.js Add missing JSDoc annotation. commit 94f32836d0fc72316ffe99cab926ec8e7f69af99 Author: Michael Herzog <[email protected]> Date: Fri Oct 31 15:59:39 2025 +0100 PixelationPassNode: Fix zero normal processing. (#32159) commit f265b19cceb299184bcc26653ad53452c4349e70 Author: Mr.doob <[email protected]> Date: Fri Oct 31 19:38:39 2025 +0900 r181 commit f887f89de40c9d67343d0df295f1ee7435a3dd58 Author: Mr.doob <[email protected]> Date: Fri Oct 31 19:31:53 2025 +0900 Updated docs. commit 9e6165f265cdc39b5e84f5db9ea4585c164833a8 Author: mrdoob <[email protected]> Date: Fri Oct 31 19:29:17 2025 +0900 Docs: Fixed properties layout. (#32156) * Docs: Fixed properties layout. * Design tweaks. * Fixed #WebGLRenderer.~Options link. * Ignore empty returns. * Design tweaks. * Clean up, commit fb7d41840766135f6fa9664e5a73968569d84247 Author: Mr.doob <[email protected]> Date: Fri Oct 31 16:34:24 2025 +0900 Updated package-lock.json commit b603d3e1e08a5369ec9902dcf718209e6e12055f Author: Mr.doob <[email protected]> Date: Fri Oct 31 16:31:52 2025 +0900 Updated builds. commit d57975757db2d1e7e3b6fc012d56c06e80e2b83b Author: mrdoob <[email protected]> Date: Fri Oct 31 16:21:39 2025 +0900 PMREM: Improved performance (lower quality) and removed Mesh allocations (#32154) * PMREM: Improved performance (lower quality) and removed Mesh allocations. * Clean up. * Clean up. commit a2d4aa5cdfe194f514c3d6fa5fcd86e77be63fb5 Author: sunag <[email protected]> Date: Fri Oct 31 01:06:58 2025 -0300 Examples: Cleanup `webgpu_postprocessing_ao` (#32153) commit e04b9f7bd7f5b17103339d343168bfab2d6e0ace Author: mrdoob <[email protected]> Date: Thu Oct 30 02:10:58 2025 -0700 Clean up. commit cbd052a029bb4e1c609c281dfbb5e3634c8618dc Author: Michael Herzog <[email protected]> Date: Thu Oct 30 10:01:35 2025 +0100 TRAANode: Add adaptive blend weights. (#32139) commit b5e596d160cd9eec941e2e928f13cdea07607d49 Author: mrdoob <[email protected]> Date: Thu Oct 30 17:24:11 2025 +0900 Increase GGX_SAMPLES from 1024 to 2048 (#32148) commit 00f9f68c136178bcfb906df5cc6fbcbba86ede9c Author: Mr.doob <[email protected]> Date: Thu Oct 30 15:47:42 2025 +0900 Updated docs. commit ec097899e338da8c1c3341a35080b6af62715a7a Author: mrdoob <[email protected]> Date: Wed Oct 29 18:36:21 2025 -0700 Add exceptions for long-running tests in puppeteer commit 5727e0cdb7f3dd622c60b3b0b3f36eadd0757788 Author: sunag <[email protected]> Date: Wed Oct 29 21:49:12 2025 -0300 Updated builds. commit 1d9c5a0859ac357488443d62b44ed2c457915fc1 Author: sunag <[email protected]> Date: Wed Oct 29 21:48:29 2025 -0300 EventNode: Add `.BEFORE_OBJECT` commit 3e8b26e00f6d75d56108e09003437ddbf95c0996 Author: sunag <[email protected]> Date: Wed Oct 29 21:43:36 2025 -0300 TSL: Fix get element through an output `Fn` value (#32143) * Fix get element through a return function * Update puppeteer.js commit 30fdd5c87eb9a09803dbf4edb5814b993ec3365e Author: sunag <[email protected]> Date: Wed Oct 29 20:57:42 2025 -0300 TSL: Add `OnBefore*` events (#32144) commit 7b65617a215774edffc1acea9d59a9a500e5eb15 Author: ycw <[email protected]> Date: Wed Oct 29 23:23:57 2025 +0800 Examples: Visualize normal as color in inspector `webgpu_postprocessing_ao` (#32141) * fix debug view: normal * move inspector AO to `aoPass.r` --------- Co-authored-by: sunag <[email protected]> commit 30c1ac4fc195cbbabe4fc405e08275d52d20f8dd Author: Michael Herzog <[email protected]> Date: Wed Oct 29 16:03:11 2025 +0100 AfterImageNode: Fix swap. (#32140) commit 4342d10ea73aa3cea3dcddd4973a6521dda8d5e8 Author: mrdoob <[email protected]> Date: Wed Oct 29 16:19:12 2025 +0900 WebGPURenderer: Implement GGX VNDF importance sampling for PMREM (#32134) * WebGPURenderer: Implement GGX VNDF importance sampling for PMREM Port the GGX VNDF (Visible Normal Distribution Function) importance sampling implementation from WebGLRenderer's PMREM to WebGPURenderer's TSL-based PMREM generator. This implementation provides more accurate environment map prefiltering by using Monte Carlo integration with VNDF importance sampling to represent the GGX BRDF for physically-based rendering. Changes to PMREMUtils.js: - Added GGX VNDF sampling helper functions: - radicalInverse_VdC: Van der Corput radical inverse - hammersley: Hammersley sequence for quasi-Monte Carlo sampling - importanceSampleGGX_VNDF: GGX VNDF importance sampling (Heitz 2018) - ggxConvolution: Main convolution function using VNDF sampling - Optimized shader code by removing unnecessary .toVar() calls Changes to PMREMGenerator.js: - Added GGX_SAMPLES constant (1024 samples, optimized for performance) - Removed _axisDirections (no longer needed with GGX filtering) - Added _ggxMaterial property - Replaced blur-based _applyPMREM with GGX filtering - Added _applyGGXFilter method for incremental roughness filtering - Added _getGGXShader function to create GGX material - Updated documentation to reflect GGX VNDF usage Technical notes: - Uses texture() instead of texture(null) for EmptyTexture default - Helper functions don't use setLayout (TSL pattern for nested Fn) - Implements incremental roughness filtering to avoid over-blurring - Applies blur strength mapping (0.05 + roughness * 0.95) for quality - Performs two-pass rendering: pingPong target then back to cubeUV - Reduced sample count to 1024 (vs WebGL's 2048) for better performance * Clean up. * Updated screenshots. * WebGPURenderer: Remove unnecessary .toVar() from s variable Performance optimization: removed .toVar() from the s variable in importanceSampleGGX_VNDF as it is never reassigned and only used for reading on the next line. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> * Remove `.toVar()` * Revert "Remove `.toVar()`" This reverts commit 3bfdc12b544a3d48a671e621871aff64cb059949. * update screenshots * update screenshots * Increase GGX samples from 1024 to 2048 * Reduce GGX samples from 2048 to 1024 --------- Co-authored-by: Claude <[email protected]> Co-authored-by: sunag <[email protected]> commit 5760cc006ea0ef31ec7b7b198452bb5494c97b6f Author: Mr.doob <[email protected]> Date: Wed Oct 29 15:08:37 2025 +0900 Updated builds. commit e681ffb807f75f2c37770d06634b78bb1e8bfe67 Author: sunag <[email protected]> Date: Wed Oct 29 02:24:12 2025 -0300 WebGPURenderer: Improve cache key verification (#32138) * NodeBuilder: add `id` * improve custom cache key commit 0be950cd7b69440e5b1c0027a8b166277a29e1a1 Author: sunag <[email protected]> Date: Wed Oct 29 00:47:56 2025 -0300 TSL: Assign stack for nodes after remove stack (#32137) * assign stack for nodes after remove stack * remove define node stack from setup commit e6084f9459943e66ebcdcf6defea1274af3b082e Author: Ben <[email protected]> Date: Tue Oct 28 16:22:39 2025 +0000 LoadingManager: Lazily instantiate abort controller. (#32120) * Lazily instantiate `AbortController` in `LoadingManager` * Removed abort controller nullish check * Add basic `LoadingManager` abort controller unit tests * Added TODO to revert `abortController` logic * Mark `_abortController` as private with JSDoc commit b291497fd0498f87af1ba9c6099855cb2cda458c Author: sunag <[email protected]> Date: Tue Oct 28 12:08:42 2025 -0300 Reapply "Merge branch 'dev' of https://github.com/mrdoob/three.js into dev" This reverts commit 7aa546b86b2ff843647ca7dd3c99fbea26d65713. commit 7aa546b86b2ff843647ca7dd3c99fbea26d65713 Author: sunag <[email protected]> Date: Tue Oct 28 12:05:36 2025 -0300 Revert "Merge branch 'dev' of https://github.com/mrdoob/three.js into dev" This reverts commit 5d3d5ec9d30de972cbfb06858ef578c5823f252c, reversing changes made to 465de053461571562e258814a304f242fde51989. commit 5d3d5ec9d30de972cbfb06858ef578c5823f252c Merge: 465de05346 a45e0ba761 Author: sunag <[email protected]> Date: Tue Oct 28 12:04:24 2025 -0300 Merge branch 'dev' of https://github.com/mrdoob/three.js into dev commit 465de053461571562e258814a304f242fde51989 Author: sunag <[email protected]> Date: Tue Oct 28 12:04:10 2025 -0300 Inspector: Fix `NaN` value commit a45e0ba76114d0cc1a0d10f3a5b1f381d2084fe8 Author: Mr.doob <[email protected]> Date: Tue Oct 28 23:51:03 2025 +0900 Updated builcs. commit 2cb4d6e0047a6c5d1a0746c674c5282efde9d531 Author: Mr.doob <[email protected]> Date: Tue Oct 28 23:50:52 2025 +0900 Updated docs. commit 8a74698aee922c39afe6c82b1e83f67e3c00a43a Author: sunag <[email protected]> Date: Tue Oct 28 11:01:32 2025 -0300 TSL: Add active stack and improve "node block" support (#32109) * add active stack and improve "node block" support * VarNode: Use `intent` for non-stack * update * fix sync set context value * simplification * simplification * Update RangeNode.js commit ca2f49e9dde0f603913bcf3f802e95c1d0739098 Author: Egor Kuklin <[email protected]> Date: Tue Oct 28 20:19:13 2025 +0700 WebGPURenderer: Fix types for indirect compute and modify example to show usage (#32129) * Fix type annotations, handle IndirectStorageBufferAttribute in webgl fallback renderer. * Modify webgpu_compute_particles example to utilize indirect compute dispatch * Respect dispatchSize when backend is not initialized * Revert "Modify webgpu_compute_particles example to utilize indirect compute dispatch" This reverts commit ca125d8a613b2969cf16a155c407a1af85c36c35. * Update puppeteer.js --------- Co-authored-by: Kuklin Georgiy <[email protected]> commit 1dcf17505d4f443c8c3ce53bfd229deeac6a3583 Author: Mr.doob <[email protected]> Date: Tue Oct 28 21:07:43 2025 +0900 Updated builds. commit 050a8a5c340d0d31673c4b5b3282e885d79b918b Author: Mr.doob <[email protected]> Date: Tue Oct 28 21:07:37 2025 +0900 Clean up. commit e1388ac56c6a13a97d4fd1268b75b80c227245e2 Author: Mr.doob <[email protected]> Date: Tue Oct 28 20:18:30 2025 +0900 Updated builds. commit f2d10b816a035cddaf63453c44c3ba8441914c94 Author: mrdoob <[email protected]> Date: Tue Oct 28 20:12:11 2025 +0900 PMREM: Implement GGX VNDF importance sampling (#32114) * PMREM: Implement GGX importance sampling. * Updated builds. * Replaced GGX importance sampling with GGX VNDF importance sampling. * Clean up. * Updated builds. * Revert builds. * Updated screenshots. * Updated comments. * Clean up. * Clean up. * Increased e2e timeout. * Updated screenshots. * Added one more computer to ci.yml * Puppeteer: Increased to 5 threads. commit ec5e88124cbaa7fd8344388dc6af6179c807e81c Author: Marcel Wiessler <[email protected]> Date: Tue Oct 28 13:05:23 2025 +0400 update links to []() format in JSdoc comments (#32132) commit a55dcde5dd25d6d3e8a2d5967becb6234b8b7bf4 Author: Kirill Osipov <[email protected]> Date: Tue Oct 28 10:04:15 2025 +0100 Selective Bloom Example: Add bloomStrength uniform to enhance bloom effect control (#32125) * Add bloomStrength uniform to enhance bloom effect control * Minor fix * Review comment: https://github.com/mrdoob/three.js/pull/32125#discussion_r2465078024 commit e87bd6551b20c69efb2ca15e34976d5836fb0137 Author: sunag <[email protected]> Date: Mon Oct 27 17:14:28 2025 -0300 WebGPURenderer: Fix dispose `RenderTarget` textures (#32131) commit 158c1c47f2191a1b0b0687ba0022139731a71090 Author: sunag <[email protected]> Date: Mon Oct 27 17:13:39 2025 -0300 WebGPURenderer: Improve shader validation (#32130) commit babe7f2cc2946b87cdf5e6958fb660bc8ba5d8a3 Author: Michael Herzog <[email protected]> Date: Mon Oct 27 16:38:34 2025 +0100 Update ViewHelper.js Simplify name. commit f957f0b2adada81cb7c1de6fe34a79ead0026a93 Author: Michael Herzog <[email protected]> Date: Mon Oct 27 16:36:44 2025 +0100 Update ViewHelper.js Fix typo. commit ca94c690d327b3da24736e7ec0e64877dd06c90e Author: Michael Herzog <[email protected]> Date: Mon Oct 27 15:56:39 2025 +0100 ViewHelper: Add `OffscreenCanvas` support. (#32128) commit 8bcb114bc77ab2257e13f996c5785ce1c826a71a Author: Spiri0 <[email protected]> Date: Mon Oct 27 15:33:59 2025 +0100 WebGPURenderer: Introduce dispatchWorkgroupsIndirect (#31488) * introduce dispatchWorkgroupsIndirect * update: dispatchSizeOrCount to dispatchSize * update: dispatchSizeOrCount to dispatchSize * update: dispatchSizeOrCount to dispatchSize --------- Co-authored-by: Attila Schroeder <[email protected]> commit b24a79100fba0ddc6d3e284f0cb3c99888c6e143 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Oct 26 18:24:37 2025 +0100 Update devDependencies (non-major) (#32122) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit d033d87b83477dd74b47025b68a10eb333ad2eaa Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Oct 26 18:24:18 2025 +0100 Update github/codeql-action digest to 4e94bd1 (#32121) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit d043955c6f71ece04cef7439393d57fbc73ba0c9 Author: Kirill Osipov <[email protected]> Date: Sun Oct 26 16:58:25 2025 +0100 WebGPURenderer: Enable dynamic shadowMap type switching. (#32105) * Add shadowMap type to cache key values * TSL: recreate shadowmap resources if its type is changed * Update ShadowNode.js Clean up. * Update ShadowNode.js Simplify check. --------- Co-authored-by: Michael Herzog <[email protected]> commit d875fe1b5f5f7faf26419fb931546bf50d146728 Author: LR17 <[email protected]> Date: Fri Oct 24 13:39:45 2025 +0200 KTX2Loader: Honor `setRequestHeader()`. (#32115) * Honor setRequestHeader() in KTX2Loader Configure the internal loader to use the same request header of its owner * Formatted code commit be24f9de78a62e3a1a452cb752f22ad4bf7426d8 Author: sunag <[email protected]> Date: Thu Oct 23 19:26:31 2025 -0300 TSL: Fix `overloadingFn` return type (#32112) commit 1dd9ba536feae14e2dba4ef1d6d92ab2e9bf81f4 Author: sunag <[email protected]> Date: Thu Oct 23 18:51:21 2025 -0300 WebGPURenderer: Fix material transparent assignment (#32110) * fix material transparent assignment * updates commit 96fe466f8edce6e90f7c48a6fe252a2b22f7b667 Author: Mr.doob <[email protected]> Date: Fri Oct 24 03:37:09 2025 +0900 Docs: Clean up. commit b4842384bcc176d42867f8955a253023aa9adae7 Author: Mr.doob <[email protected]> Date: Fri Oct 24 03:18:40 2025 +0900 Docs: Changed absolute paths to relative paths. commit 6618a69400ac6c42338ca5b8e8024351c53675fe Author: mrdoob <[email protected]> Date: Fri Oct 24 03:00:19 2025 +0900 Added new docs generated with JSDocs (#32118) * New Docs: Add translation disable flags. * Clean up. * Improved tables rendering. * Exclude WebGPURenderer.Nodes.js for now. * Changed jsdocs destination folder to docs. * Fixed navigation indentation. * Generated docs. * Replaced prettify.js with highlight.js * Clean up. * Updated docs. commit 061ae57acb642f1131c98c50cafd02c4b937d638 Author: mrdoob <[email protected]> Date: Fri Oct 24 01:45:20 2025 +0900 Removed legacy docs. (#32117) commit b8167d7e97b5a7b086476192c5fd7889bb20c5a0 Author: Mr.doob <[email protected]> Date: Wed Oct 22 22:35:32 2025 +0900 Updated builds. commit 9aa014f71ab05aa16cc97597655120d931598f7c Author: mrdoob <[email protected]> Date: Wed Oct 22 22:31:52 2025 +0900 WebGPURenderer: Improve rough reflection mixing for IBL (#32108) * WebGPURenderer: Improve rough reflection mixing for IBL. * Updated screenshot. commit b2c3aeff3266d47db7278db256c18c042fffd476 Author: mrdoob <[email protected]> Date: Wed Oct 22 22:06:47 2025 +0900 WebGLRenderer: Improve rough reflection mixing for IBL (#32102) * WebGLRenderer: Improve rough reflection mixing for IBL. * Use pow4() and inline. commit c1c42e61ed3ba43d14f9abc2e4c31119ce695b86 Author: Mr.doob <[email protected]> Date: Wed Oct 22 14:57:11 2025 +0900 Updated screenshot. commit 76c754fcbeb1b423916a5190d381b6d9dad4a73c Author: Mr.doob <[email protected]> Date: Wed Oct 22 14:57:03 2025 +0900 Updated builds. commit e2454633063b8eabaf22b2a63d968bb67f763459 Author: sunag <[email protected]> Date: Tue Oct 21 17:26:40 2025 -0300 TSL: Cleanup commit 89b6cd1f8673fd345df94736a0a50eda97b99618 Author: Kirill Osipov <[email protected]> Date: Tue Oct 21 16:37:27 2025 +0200 TSL: Refactor `positionViewDirection` to handle orthographic camera cases (#32088) * WebGPU: Refactor positionViewDirection to handle orthographic camera cases * Update WebGPU screenshots after positionViewDirection fix * Review comment: https://github.com/mrdoob/three.js/pull/32088#discussion_r2445229182 commit 4bd6e36a194bddb505aaf2bf43f18e22411f433f Author: mrdoob <[email protected]> Date: Tue Oct 21 20:07:44 2025 +0900 E2E: Revised exception list (#32090) * Testing e2e with fixed RAF. * Updated screenshots. * Updated exception list. * Updated exceptions list. * Add css3d_youtube to exception list Added 'css3d_youtube' test case to investigate CI crashes. * Added webgpu_materials_video to exceptions list * Simplified puppeteer script. * Clean up. * Added webgpu_materialx_noise to exception list * Clean up. * Updated screenshots. * Updated screenshots. * Updated screenshots. * Reverted some screenshots. * Added more examples to the exception list. * Added a couple more examples to the exception list. * Added more examples to exception list. * Clean up. * Optimize CPU usage. * Tweak waiting times. * Change load to networkidle0 back. * Increase idle time for network requests to 2 seconds commit eeda2145a8dd587436b49b365d376517bceb85a0 Author: Marcel Wiessler <[email protected]> Date: Tue Oct 21 11:00:25 2025 +0200 GLTFLoader: add KHR_animation_pointer and NEEDLE_progressive (#32096) * GLTFLoader: add KHR_animation_pointer and NEEDLE_progressive * add urls to jsdoc commit ebc584918a92fda2530009bd306992f2fb3dd23b Author: mrdoob <[email protected]> Date: Tue Oct 21 10:34:58 2025 +0900 Add exception to exceptionList for css3d_mixed commit a4ee1080dcf5732f9eeefc917041d19009ffa4b7 Author: Mr.doob <[email protected]> Date: Tue Oct 21 10:21:20 2025 +0900 Updated builds. commit 7dec10bb10968448260f442729a794075945991d Author: Kirill Osipov <[email protected]> Date: Tue Oct 21 02:59:34 2025 +0200 TSL: Ensure `nodeProxyIntent` always sets intent: true (fix spread order) (#32092) Co-authored-by: sunag <[email protected]> commit 8409754fc4e752ca0341cdcdf5158727cc60048b Author: mrdoob <[email protected]> Date: Tue Oct 21 09:44:45 2025 +0900 WebGPURenderer: Add multi-scattering energy compensation for direct lighting (#32089) * WebGPURenderer: Add multi-scattering energy compensation for direct lighting. * Clean up. * Clean up. * Updated screenshot. * Updated screenshots. commit 6da6c51f4b5873a3b786001eaf46c9691c88bef4 Author: mrdoob <[email protected]> Date: Tue Oct 21 09:42:47 2025 +0900 WebGLRenderer: Add multi-scattering energy compensation for direct lighting (#32072) * WebGLRenderer: Add multi-scattering energy compensation for direct lighting. * Updated builds. * Simplified BRDF_GGX_Multiscatter function. commit 11751a04315ec1d57f00be6809fbfb0e4ef356b9 Author: sunag <[email protected]> Date: Mon Oct 20 21:38:49 2025 -0300 Update PhysicalLightingModel.js (#32094) commit b839e0096d164265f6f385b909d46ac5319b3bea Author: mrdoob <[email protected]> Date: Tue Oct 21 09:27:50 2025 +0900 E2E: Improved robustness (#32091) * E2E: Update screenshots. * Updated screenshots. * Updated screenshots. * Updated more screenshots. * Refactored puppeteer.js * Robustness. * Refactored Puppeteer flags. * Robustness. * Clean up. * Robustness. * Updated puppeteer. * Clean up. * Robustness. * Robustness. * Robustness. * Clean up. * Updated screenshots. * Puppeteer: Enable unsafe swiftshader for MacOS. * Puppeteer: New deterministic RAF code. * Puppeteer: Handle browser logs. * Clean up. * Updated screenshots. * Puppeteer: Implement PagePool. * Updated screenshots. * Puppeteer: Increase setInterval time. * Clean up. * Updated screenshots. * Change CI workflow OS from Windows to Ubuntu * Add '--no-sandbox' flag to Puppeteer launch options * Update Puppeteer flags for improved performance * Reduce number of browser pages from 8 to 4 * Reduce number of browser pages to 1 * Updated screenshots. commit b3dde01ebb2509893dc41a9d29bd6dfba1794731 Author: mrdoob <[email protected]> Date: Mon Oct 20 01:18:17 2025 -0700 e2e: Fixed RAF bug in deterministic-injection.js commit 3a987fad398939a7b6a2c4e9b7d2dd5df99ffa50 Author: Mr.doob <[email protected]> Date: Mon Oct 20 14:22:06 2025 +0900 e2e: Set userDataDir for Puppeteer. commit 798408fed61205b15e161871b2de78c400466ce0 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Oct 19 21:59:06 2025 +0200 Update actions/setup-node action to v6 (#32087) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit b50ba5e56231ce5f007ec826a11982da0dc358b1 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Oct 19 19:48:19 2025 +0200 Update devDependencies (non-major) (#32086) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit c41f1d2f72b2eabeb95972b3746210b53400287b Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Oct 19 19:48:04 2025 +0200 Update github/codeql-action digest to 16140ae (#32085) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit cbe52bca16e3d53c92592501475dc5384c9bac43 Author: Kirill Osipov <[email protected]> Date: Sun Oct 19 18:58:21 2025 +0200 Add aoNode to NodeMaterial clone (#32084) commit 7f5f8c833252f1198ecdd4e71f46c07de6eb5975 Author: ycw <[email protected]> Date: Sun Oct 19 22:57:46 2025 +0800 fix logic, typo ... (#32083) commit 5bf960214b54235ec6f04ffc5d686696a0fe3029 Author: ycw <[email protected]> Date: Sun Oct 19 22:33:23 2025 +0800 fix (#32080) commit 4c5847308543d0593b909c33ee11a6740c3d88a0 Author: ycw <[email protected]> Date: Sun Oct 19 22:32:24 2025 +0800 reset internal state rVFCId (#32082) commit 368c7e1c0c9900c32b937fee4f23dc20130f7f87 Author: ycw <[email protected]> Date: Sun Oct 19 22:31:57 2025 +0800 apply constraint immd (#32081) commit 26e01afe2b92badd314fed8eab088f1a522a9c02 Author: Aless Li <[email protected]> Date: Sun Oct 19 18:19:05 2025 +0900 Add char direction in doc (#32078) commit c2651952e2481e8e5f7e7391e454a4b4c6eb14d2 Author: Mugen87 <[email protected]> Date: Sat Oct 18 15:21:57 2025 +0200 Updated builds. commit 97b4c515bcaea68f345fb3981828694f062be5cc Author: Michael Herzog <[email protected]> Date: Sat Oct 18 15:21:23 2025 +0200 Nodes: Fix size computations in FX/RTT nodes. (#32077) commit e0fdb2476fa43f3bd11ac850fc98c2e17ad14ff4 Author: Michael Herzog <[email protected]> Date: Sat Oct 18 15:01:11 2025 +0200 GTAONode: Add basic support for temporal filtering. (#32076) commit d5ffcf9c89402257d8451cbcda725c70e7e20219 Author: sunag <[email protected]> Date: Fri Oct 17 14:47:01 2025 -0300 TSL: Fix recursive cache key (#32070) commit b140fba01d7b71d461c2d9842867aef82684a4e5 Author: Michael Herzog <[email protected]> Date: Fri Oct 17 19:44:32 2025 +0200 TSL: Move Interleaved Gradient Noise into `PostProcessingUtils`. (#32074) * TSL: Move Interleaved Gradient Noise into `PostProcessingUtils`. * Update PostProcessingUtils.js commit 62e6f436cec8bae9a55f47f7fca16629ea0eb679 Author: Mr.doob <[email protected]> Date: Fri Oct 17 18:48:34 2025 +0900 WebGLRenderer: Use WebGL 2.0 native transpose(). commit 3c494f0f92dfdfa1b825e065d1c2a45dcd8158c1 Author: Mr.doob <[email protected]> Date: Fri Oct 17 14:49:37 2025 +0900 Updated builds. commit 7ee24a265e7e6148c6adb0a4d9c0e02a16d293c6 Author: mrdoob <[email protected]> Date: Fri Oct 17 14:46:24 2025 +0900 Removed WebGL 1.0 left overs. (#32071) commit 39b05002504a06b6a58a07570b0a6231f9390417 Author: Mr.doob <[email protected]> Date: Fri Oct 17 14:45:51 2025 +0900 WebGLRenderer: Clean up. commit 6d15bf7606f6b373b8c28554ef7648b96101b5d4 Author: Mr.doob <[email protected]> Date: Fri Oct 17 10:48:18 2025 +0900 Updated builds. commit 59055eda0a90a7000dd354e90852d58adf8a9f89 Author: sunag <[email protected]> Date: Thu Oct 16 15:30:10 2025 -0300 Examples: Update screenshots (#32069) commit 9f998dd85e7b074e883da3c23144c4e30fd2f0e3 Author: Shota Matsuda <[email protected]> Date: Fri Oct 17 03:08:43 2025 +0900 Docs: Add type annotations for dispatch size in `ComputeNode` (#32068) commit 260d0c47aedb80dcda0242b38cd1ee01dd7ae0e7 Author: sunag <[email protected]> Date: Thu Oct 16 12:54:00 2025 -0300 PMREMGenerator: Deprecated async functions (#32063) commit bca53e60926c4afb05c6d16672c00554d9c8bbde Author: Mr.doob <[email protected]> Date: Thu Oct 16 20:26:00 2025 +0900 MaterialXLoader: Fixed flipped textures. commit 060342f443a31cdc78bbb83831dabbc0d0892602 Author: Mr.doob <[email protected]> Date: Thu Oct 16 20:24:31 2025 +0900 Updated builds. commit a4777982c4b1c1ba3106fd59a10393172bfd63cb Author: Mr.doob <[email protected]> Date: Thu Oct 16 20:24:18 2025 +0900 DFGLUT: Clean up. commit 34f3fa6493a3bd2fd40a1d3568d943779b33eb2c Author: sunag <[email protected]> Date: Thu Oct 16 08:00:37 2025 -0300 WebGPURenderer: DFG LUT instead of Analytical approximation. (#32061) * Update DFGApprox.js * add `webgpu_pmrem_test` * Create webgpu_pmrem_test.jpg --------- Co-authored-by: Mr.doob <[email protected]> commit b61441df2e92a487f3063cd44cc614be8bbd9a4a Author: Mr.doob <[email protected]> Date: Thu Oct 16 19:17:38 2025 +0900 Examples: Improved watch example. commit 2cff1474de2e0037c12bc46c1d9d472f14b04637 Author: Mr.doob <[email protected]> Date: Thu Oct 16 16:57:23 2025 +0900 Examples: Improved UnrealBloomPass examples. commit 057d341afde09e38c59037e39fc81198b241258d Author: Mr.doob <[email protected]> Date: Thu Oct 16 16:56:54 2025 +0900 UnrealBloomPass: Backported changes from #31528 commit 3a7aa4dc5808e929c410e58b9c7316a331d37cbc Author: Mr.doob <[email protected]> Date: Thu Oct 16 16:35:07 2025 +0900 Updated builds. commit e225530224722d9df1e392dbfcffc7dbdbe46a4a Author: Mr.doob <[email protected]> Date: Thu Oct 16 16:16:40 2025 +0900 Utils: Increase DFG sample count to 4096. commit 3a0a8d98bc918bd9740191a386defe4e85a6d68e Author: Jon Smithers <[email protected]> Date: Wed Oct 15 10:56:48 2025 -0700 Examples: fix incorrect field assignment (#32056) * Fix field assignment * Additionally rename class field and option * undo unintentional change commit 2746aaed212ded35792c91226b4cd064ec8322f4 Author: Mugen87 <[email protected]> Date: Wed Oct 15 10:15:50 2025 +0200 Updated builds. commit 1225f52302fc071d6411080e75e051677870c418 Author: Aless Li <[email protected]> Date: Wed Oct 15 17:03:15 2025 +0900 FontLoader: Add text direction. (#31683) * Rebase from latest dev branch * Change random color to fix * Revert webgl_loader_ttf example * Move location of MPLUS font and rename * Fix font path * zip MPLUSRounded1c to reduce size * Fix un-used class * Update TextGeometry.js * Update FontLoader.js --------- Co-authored-by: Michael Herzog <[email protected]> commit f972284e08c85ce2fc2294b64da2be02dacb2043 Author: Don McCurdy <[email protected]> Date: Wed Oct 15 03:58:51 2025 -0400 DRACOLoader: Implement data alignment for WebGPU (#31991) * DRACOLoader: Implement data alignment for WebGPU * clean up * fix typo commit 2b5ea3047752969bd69cd594002cbb4d71b515d6 Author: Michael Herzog <[email protected]> Date: Wed Oct 15 09:51:56 2025 +0200 Renderer: Fix transmission flicker. (#32043) commit 2cfd5739550a1221b783e17bf00ad675a728aea7 Author: Michael Herzog <[email protected]> Date: Wed Oct 15 09:48:01 2025 +0200 SSSNode: Add new node for Screen-Space Shadows. (#32050) * SSSNode: Add new node for Screen-Space Shadows. * Examples: Use `PCFSoftShadowMap` in SSS demo. commit 154e14558021d0aae2770eafb621741ac25680e4 Author: Mr.doob <[email protected]> Date: Wed Oct 15 15:24:32 2025 +0900 MaterialXLoader: Use ImageBitmapLoader to prevent blocking. commit 7527f40bf500b42e50293109fdfb2b052d86b7a2 Author: sunag <[email protected]> Date: Wed Oct 15 02:55:57 2025 -0300 TSL: Resolve some name collision (#32032) * StackNode: Rename `.add()` -> `.addToStack()` * RenderOutputNode: Add `setToneMapping()` and `getToneMapping()` * updates * Update NodeMaterial.js commit a31517aa5f49df933906e0c32aadac51cbe48241 Author: sunag <[email protected]> Date: Wed Oct 15 02:55:18 2025 -0300 Examples: Update `webgpu_lines_fat_raycasting` (#32060) * Update webgpu_lines_fat_raycasting.html * Update webgpu_lines_fat_raycasting.jpg commit 29dbaedbed63acba23fd50f58bdf33498c7eaa1b Author: Mr.doob <[email protected]> Date: Wed Oct 15 14:07:37 2025 +0900 Updated builds. commit 361853114a24b7df70df907d3f38d1997a24b34d Author: Mr.doob <[email protected]> Date: Wed Oct 15 14:02:32 2025 +0900 Examples: Clean up. commit 5e3cd6c52b3151a7243a0dd639334c7ce4d9c320 Author: Mr.doob <[email protected]> Date: Wed Oct 15 13:43:24 2025 +0900 Examples: Added WebGL PMREM examples. commit 9b0d0937c75eab4d46f5f66b3e0c18bcb1f8c07b Author: Mr.doob <[email protected]> Date: Wed Oct 15 13:29:40 2025 +0900 Examples: Improved WebGPU PMREM examples. commit bd3fe1f75001e9ec1322a97e39a10ecd2cec4927 Author: mrdoob <[email protected]> Date: Wed Oct 15 12:57:33 2025 +0900 WebGLRenderer: Try DFG LUT instead of Analytical approximation. (#32054) * WebGLRenderer: Try DFG LUT instead of Analytical approximation. * Potential fix for code scanning alert no. 3676: Unused variable, import, function or class Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Potential fix for code scanning alert no. 3677: Unused variable, import, function or class Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Clean up. * Fix shader issue. * Replaced Schlick approximation with Smith GGX Correlated visibility. * Generate 16x16 DFG LUT * Revert cubeUV change. * Clean up. * Updated screenshots. * Generate 32x32 RG16F DFG LUT. --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> commit c2a5593b6b5b144b8f9873673ef50d7c1e387422 Author: sunag <[email protected]> Date: Wed Oct 15 00:27:06 2025 -0300 TSL: Fix auto type conversion for layout parameters (#32059) commit df5aa82a1433b1748bd4776d0d3baf21138f2c07 Author: Nathan Bierema <[email protected]> Date: Tue Oct 14 23:06:12 2025 -0400 Examples: Cleanup. (#32057) commit 71c6a2b701c94ad62f1494b6dad2f2292999b847 Author: Mr.doob <[email protected]> Date: Tue Oct 14 20:00:41 2025 +0900 Updated builds. commit 1ef293278f707f7f715c0313772bc86d10d3216c Author: Mr.doob <[email protected]> Date: Tue Oct 14 18:41:41 2025 +0900 New Docs: Handle page properties/methods links. commit 4b510dfb7df38ac8aa1e0a7f64a2b3550dbc7615 Author: Mr.doob <[email protected]> Date: Tue Oct 14 18:03:40 2025 +0900 New Docs: Improved text rendering on MacOS. commit b65bc7a383677ff9c264e79f67b4f49079282bbb Author: sunjiang <[email protected]> Date: Tue Oct 14 15:45:15 2025 +0800 SelectionBox: Add support for batchedMesh (#32052) * SelectionBox: Add support for batchedMesh in SelectionBox * Update SelectionBox.js Cleanup. --------- Co-authored-by: sunjiang <[email protected]> Co-authored-by: Michael Herzog <[email protected]> commit cf605b45b331f2c80dae341f78a798b351c1d814 Author: Nathan Bierema <[email protected]> Date: Tue Oct 14 03:41:15 2025 -0400 Update CanvasTarget to remove antialiasing option (#32051) Removed antialiasing from CanvasTarget instantiation. commit cadb42b1c3ac539d43a697a8471c9fde1b5600fa Author: Michael Herzog <[email protected]> Date: Mon Oct 13 14:05:36 2025 +0200 Update SSGINode.js Fix description. commit 21009ebc442a3566e76ba0f4d9b8b19a5c910c7d Author: Mr.doob <[email protected]> Date: Mon Oct 13 20:43:18 2025 +0900 TubePainter: Replace disk caps with hemisphere caps. commit a02ba14525946ce991a6a119449b7ea9c04f358e Author: Mr.doob <[email protected]> Date: Mon Oct 13 19:46:01 2025 +0900 New Docs: Fixed examples layout breakage. commit c861af13ea6b691dfe3cc3f48b90644efa60a7b2 Author: mrdoob <[email protected]> Date: Mon Oct 13 19:25:34 2025 +0900 New Docs: Add translation disable flags (#32048) * New Docs: Add translation disable flags. * Clean up. commit e9c27c5b1013a5b03308d3f5e406c0f26ff3ce3c Author: Michael Herzog <[email protected]> Date: Mon Oct 13 11:05:21 2025 +0200 Update SSGINode.js commit 1c2d462f93d6082dbef19ec97ae90bba033fb180 Author: Joseph D'Angelo <[email protected]> Date: Mon Oct 13 01:28:00 2025 -0700 GlitchPass: fix heightMap member name (#32047) commit ecad1ec504436c3b2e1dd1461b4a3a9a6fa92c0e Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Oct 12 22:45:32 2025 +0200 Update github/codeql-action action to v4 (#32046) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 0aa04e1eecc94deded9596d26a3ae2003689262a Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Oct 12 20:07:43 2025 +0200 Update dependency qunit to v2.24.2 (#32045) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 73486f3fb0db6765b83a306f29456cca78dea02e Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Oct 12 20:07:34 2025 +0200 Update github/codeql-action digest to 755f449 (#32044) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 5d1859a89c2f5ff6a34473ba6e62382f6308788b Author: Michael Herzog <[email protected]> Date: Sun Oct 12 19:37:13 2025 +0200 Update webgpu_materials_transmission.html commit ed360e81958bbebd4a4c0bf4ae254dc884aa5593 Author: Mr.doob <[email protected]> Date: Sun Oct 12 23:54:16 2025 +0900 New Docs: Removed unused page container. commit 64d3d974170722d303d49b77b48d7e466da2608d Author: Mr.doob <[email protected]> Date: Sun Oct 12 23:36:30 2025 +0900 New Docs: Use custom scrollIntoView. commit 28dcaf5f9db3326dc40eb98d377b48e72afbf771 Author: Mr.doob <[email protected]> Date: Sun Oct 12 22:28:20 2025 +0900 New Docs: Fixed left padding / media queries. commit a33da3ceec9fd47e8cea4042ed597b066d29f7e1 Author: mrdoob <[email protected]> Date: Sun Oct 12 21:59:16 2025 +0900 New Docs: Generate old docs system and design (#32036) * New Docs: Generate old doc system. * New Docs: Added THREE instance and ASCII Art. * New Docs: Templates clean up. * New Docs: Clean up. * New Docs: Avoid generating redundant tags. * New Docs: Fixed search results and link colors. * New Docs: Implemented full inheritance breadcrumbs. * New Docs: Reimplemented old css. * New Docs: Fixed hash links. * New Docs: Implemented @marcofugaro search results design. * New Docs: Clean up. * New Docs: Clean up. * New Docs: Do not include private properties/methods in results. * New Docs: Separated Global from TSL. * New Docs: Clean up. * New Docs: Clean up. * New Docs: Clean up. * New Docs: Removed fuse.js. * New Docs: Replaced examples link with manual. * New Docs: Removed (nullable) from properties/methods. * New Docs: Bring back geometry/materials/... viewers. * New Docs: Separate code snippet from description. * New Docs: Removed unused div container. * New Docs: Moved Import section before Constructor section. * New Docs: Ensure TSL is always uppercase. * New Docs: Clean up. * New Docs: Added missing @tsl tags. * New Docs: Added missing @tsl and @private tags. * New Docs: Simplified TSL handling. * Added webgpu_materials_basic to puppeteer exceition list. commit 2ab339085fd21cd720ba3da0adf9ac4501865be4 Author: sunag <[email protected]> Date: Sat Oct 11 23:14:07 2025 -0300 Renderer: Deprecate `computeAsync()` (#32042) * use `compute()` instead of `computeAsync()` * deprecated computeAsync() commit 00d1804cfdfe5dc0e41e7cda030e97b368cd0735 Author: sunag <[email protected]> Date: Sat Oct 11 15:48:30 2025 -0300 Examples: Update deprecate async methods. (#32033) * fixes * remove init * add more examples * add more examples * improve inspector for particles snow * Update webgpu_instance_mesh.jpg * add more examples * Update webgpu_compute_texture_pingpong.html * Update webgpu_instance_mesh.jpg * updates * Update webgpu_tsl_vfx_linkedparticles.html commit eeda755f0da15713b785da1866631bfc1bb061f1 Author: web3dpangda <[email protected]> Date: Sat Oct 11 17:23:44 2025 +0800 Docs: Fix errors in the zh docs' example code and translate code comments (#32041) commit 195f172ccefd2fded6bb05121128079db68b33d9 Author: Renaud Rohlinger <[email protected]> Date: Sat Oct 11 17:15:45 2025 +0900 Examples: Fix compute_texture_pingpong example (#32039) commit 2a0228c066a7fe4bce0f1d12b3e5bd4058dcc218 Author: Shota Matsuda <[email protected]> Date: Thu Oct 9 22:50:25 2025 +0900 Examples: Don’t use `property()` for creating variables (#32028) * Don’t use property() for unassigned variable * Don’t use property() for unassigned variables * Revert "Don’t use property() for unassigned variables" This reverts commit a91f2d4ff00c8ad58527b06fc093973df52ea6d5. commit 56013e03035caa8a3ca857795315b773c5c78ec8 Author: mrdoob <[email protected]> Date: Thu Oct 9 21:45:23 2025 +0900 TubePainter: Fixed end caps and removed object allocations (#32030) * TubePainter: Fixed end caps and removed object allocations. * TubePainter: Inlined _lineTo. * Clean up. * TubePainter: Fixed endCap not being moved tot he end of the new segments. * TubePainter: Removed minDistance code. * TubePainter: Restored update ranges. * TubePainter: Clean up. * TubePainter: Clean up. * TubePainter: Added color support to example. * TubePainter: Fixed scale logic. * TubePainter: Clean up. * TubePainter: Clean up. commit 9aad521bc15b018ba52636ab01ba7a8b48306145 Author: Michael Herzog <[email protected]> Date: Thu Oct 9 11:23:46 2025 +0200 Renderer: Fix breakage in deprecated methods. (#32029) commit da275a4e00536723155b68518944de5eb7945550 Author: Christian Helgeson <[email protected]> Date: Wed Oct 8 01:17:01 2025 -0700 NodeBuilder - Add Hints in Comments (#32004) * init branch * flowStageNode improvements * modify NodeBuilder comments * adjust flow build stage comment per sunag suggestion commit 6823e43c967c58aa9181d36612a3e410f3bb4d00 Author: Mr.doob <[email protected]> Date: Wed Oct 8 12:21:17 2025 +0900 Update jsdoc to 4.0.5 commit 7ff8fe1cba7225d3870c9465435a0db8aff913a4 Author: mrdoob <[email protected]> Date: Wed Oct 8 12:17:51 2025 +0900 Revert "New Docs: Improved generation speed by 7.5x (#32023)" (#32027) This reverts commit ebe7669453b77bed3ef358c246169f80dd68ec01. commit 4bad896cfb184ba30c011000d3e1c3fa178acc79 Author: Mugen87 <[email protected]> Date: Tue Oct 7 23:26:30 2025 +0200 Updated builds. commit a450c67df3fd934c9b4fad1e9791dd883fb620b9 Author: Michael Herzog <[email protected]> Date: Tue Oct 7 23:24:36 2025 +0200 Renderer: Remove `waitForGPU()`. (#32024) commit 785031e4ddfa6ea8e173e457dfe86caa0174fd0f Author: Michael Herzog <[email protected]> Date: Tue Oct 7 23:20:27 2025 +0200 Renderer: Deprecate some async methods. (#32026) * Renderer: Deprecate some async methods. * Renderer: More deprecation. * Renderer: Simplify code. commit 69317a85cc0838ad6c3b95b48037fe3a500efa8c Author: Michael Herzog <[email protected]> Date: Tue Oct 7 14:16:34 2025 +0200 Renderer: Deprecate `renderAsync()`. (#32022) * Renderer: Deprecate `renderAsync()`. * Examples: Clean up. * Playground: Fix PreviewEditor. * Renderer: Improve comment. * Renderer: Use `Error` instead of error log. * Update deprecation version. commit e1809743e6779eef3a4612a8c4af5200c2b63f34 Author: Renaud Rohlinger <[email protected]> Date: Tue Oct 7 21:02:30 2025 +0900 WebGPURenderer: Allow manual mipmap creation with StorageTexture (#31983) * WebGPURenderer: Allow manual mipmap creation with StorageTexture and compute * CI * Refactor to mipmapsAutoUpdate commit 2b5a2acb420b498dc9dc74cfd097c4ca9abac882 Author: mrdoob <[email protected]> Date: Tue Oct 7 20:53:34 2025 +0900 TubePainter: Improved generated geometry and added caps. (#32025) commit ebe7669453b77bed3ef358c246169f80dd68ec01 Author: mrdoob <[email protected]> Date: Tue Oct 7 14:28:07 2025 +0900 New Docs: Improved generation speed by 7.5x (#32023) * New Docs: Improved generation speed by 7.5x. * Clean up. commit cfd6be3add2249883afd84d30f4a125d5dedf1dc Author: Michael Herzog <[email protected]> Date: Mon Oct 6 16:17:49 2025 +0200 ShadowNode: Fix shadows in first frame. (#32021) * ShadowNode: Fix shadows in first frame. * Lights: Fix `lightShadowMatrix()`. commit 6d29214d5a6b543fc1096b175de33c030b2fcaf0 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Mon Oct 6 11:07:59 2025 +0200 Update peter-evans/create-or-update-comment action to v5 (#32015) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit d0d714784e20460822bd7469dcd88c0e164c6519 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Mon Oct 6 10:45:25 2025 +0200 Update peter-evans/find-comment action to v4 (#32016) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 1f5801d8e7e58108f41e4a7ba0e28862da75e646 Author: Samuel Rigaud <[email protected]> Date: Sun Oct 5 21:34:25 2025 -0400 Examples: clean up (#32018) * Examples: clean up * Update webgpu_lights_projector.jpg * updates * update --------- Co-authored-by: Samuel Rigaud <[email protected]> Co-authored-by: sunag <[email protected]> commit cee5c449bb861472d9626416f2c1d88d317f3e08 Author: Samuel Rigaud <[email protected]> Date: Sun Oct 5 17:15:32 2025 -0400 fix typos (#32017) Co-authored-by: Samuel Rigaud <[email protected]> commit c7f57a83c123a507c90a673492a8233a59bbce56 Author: sunag <[email protected]> Date: Sun Oct 5 15:13:43 2025 -0300 Inspector: Improve precision (#32007) * improve fps * updates commit 489b3cdcd97bccd761264d9fc8da620fa35fd70d Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Oct 5 19:47:45 2025 +0200 Update github/codeql-action digest to 64d10c1 (#32013) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit eec86783c000b2b316c3a6eee5036becf5d9f13d Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Oct 5 19:47:24 2025 +0200 Update devDependencies (non-major) (#32014) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 8c5163671f87f2ea16b9ec51d9fcfc8bdf4c8da9 Author: Nathan Bierema <[email protected]> Date: Sun Oct 5 09:15:49 2025 -0400 Fix Uint32Array initialization (#32011) commit 3220e981e9b3d2a77d615bbf2aa9da114f6cf551 Author: Michael Blix <[email protected]> Date: Sat Oct 4 01:10:45 2025 -0700 USDZExporter: Improve material prop types and setup (#32008) commit 9178da53cac7f3030f8195fa5ce63698ed2fbd48 Author: mrdoob <[email protected]> Date: Fri Oct 3 15:24:30 2025 +0900 New Docs: Updated templates with old design. (#32002) * New Docs: Updated templates with old design. * New Docs: Remove (nullable) from methods that return null. * New Docs: Improved parameters table. * New Docs: Removed unused code from templates. * New Docs: Fixed h2/h3 in dark mode. * New Docs: Fixed Import. * New Docs: Fixed navigation scroll resetting. commit 758b6543902fe5dfbb85729ce2dae3ddad44e646 Author: sunag <[email protected]> Date: Thu Oct 2 22:25:15 2025 -0300 Updated builds. commit 3410b486aba8c64361b22af604244d9fb05743d2 Author: sunag <[email protected]> Date: Thu Oct 2 22:23:17 2025 -0300 Examples/Inspector: Revisions (#32003) * change init message icon/style * fix button parameters `.name()` * improve mobile style * remove `.step()` function from ui parameters * Update webgpu_backdrop_water.html * updates * Update puppeteer.js commit cbc975bfee24bca21d22797bacc45a8b8a2f3ebe Author: Shota Matsuda <[email protected]> Date: Thu Oct 2 21:59:43 2025 +0900 WebGLBackend: Fix functions with struct layouts cannot resolve struct types (#32000) commit e72ae5142bb3828ccf7bdf0c975695a135d7760e Author: mrdoob <[email protected]> Date: Thu Oct 2 21:48:35 2025 +0900 New Docs: Reduce folder size (#31992) * New Docs: Do not output source files. * New Docs: Create nav.html * New Docs: Tabs instead of spaces. * New Docs: Remove empty lines. * New Docs: Removed dummy lists. * New docs: Move code sandbox import to page.js * New Docs: Simplified generated nav.html * New Docs: No need to link the source file for every property/method. commit 40728556ec00833b54be287807cd6fb04a897313 Author: Michael Herzog <[email protected]> Date: Thu Oct 2 10:05:51 2025 +0200 Update webgpu_shadowmap_csm.html Clean up. commit 72cd0f81ea76c0d0558b397fa331c75742bd79ca Author: sunag <[email protected]> Date: Thu Oct 2 00:27:07 2025 -0300 Examples: More Inspector usage and revisions. (#31995) * add overlay * TiledLightsNode: Improve description * Examples: add inspector * update screenshots * update * improve description * update examples * update screenshots * more examples * add more examples * fix color hex get value * add listen() * add more examples * add more examples * improve style * Update example.css * update * Update example.css * Update Parameters.js * Update ToonOutlinePassNode.js * add more examples * Update Style.js * add more examples * add examples * Update puppeteer.js * add button support * update screenshots commit 9e7a65c17bc3832798103190df8f674b9acca073 Author: sunag <[email protected]> Date: Wed Oct 1 22:40:33 2025 -0300 Updated builds. commit 38903546cc77b0cf9a250e6f63584f0a42141eec Author: Christian Helgeson <[email protected]> Date: Wed Oct 1 17:32:08 2025 -0700 GLSLNodeBuilder: Adjustments and Polyfill (#31999) * add polyfill for GLSLNodeBuilder * unify how GLSL _include and WGSL _include work commit 5be8714796f4e17d73d75e3df6a3c11d5c38ea64 Author: sunag <[email protected]> Date: Wed Oct 1 19:07:44 2025 -0300 Inspector: Add semi-transparent background (#31997) * add glass effect * Update Style.js commit b73a55ab4050a8d61af3d02f57776d3c98f9a295 Author: sunag <[email protected]> Date: Wed Oct 1 17:35:48 2025 -0300 Transpiler: Fix immutable to dynamic parameter conversion and `webgpu_shadertoy` example (#31996) commit ec4c9b2e0da04bcc5fe0f597c13c20b44f8ba637 Author: Michael Herzog <[email protected]> Date: Wed Oct 1 17:08:41 2025 +0200 PassNode: Ensure clear of internal render target. (#31993) commit 2a028849d71e5e62d6e139d442a2661bca98f8d9 Author: Michael Herzog <[email protected]> Date: Wed Oct 1 10:18:31 2025 +0200 SVGLoader: Make node transform parsing more robust. (#31985) commit 2cbc7af334edc10f5b119b9d977b36ad0c797146 Author: mrdoob <[email protected]> Date: Wed Oct 1 11:19:47 2025 +0900 New Docs: Added redirects for old docs URL (#31986) * New Docs: Added redirects for old docs URL. * Removed docs_new from gitignore. * Clean up. commit 169d4e148effe3d93be23956161af57848f0da7e Author: Michael Herzog <[email protected]> Date: Tue Sep 30 19:36:10 2025 +0200 Examples: More Inspector usage. (#31988) * Examples: More Inspector usage. * E2E: Update screenshots. * add partial .setValue * Update webgpu_postprocessing_transition.html * Update webgpu_postprocessing_transition.jpg --------- Co-authored-by: sunag <[email protected]> commit b871d35f22d22708fd86abe2843ca3accd5da6f0 Author: Neil Rackett <[email protected]> Date: Tue Sep 30 10:59:34 2025 +0100 Enable touch for css3d_mixed example (#31979) * Enabled touch for css3d_mixed example * Removed isDragging commit 11b9f4104fc21449d334f2a9ae3519a78c83a85e Author: sunag <[email protected]> Date: Tue Sep 30 02:04:13 2025 -0300 Examples: More inspector usage. (#31984) * revision * update examples * Update Performance.js * add example * Update ReflectorNode.js commit 8a9f4d0e72bfa3048ce3b0c3c3b9441f23401ee4 Author: sunag <[email protected]> Date: Tue Sep 30 00:55:01 2025 -0300 Updated builds. commit b067191bc81bdd87dfee84712d5581cce7cbf19b Author: sunag <[email protected]> Date: Tue Sep 30 00:36:30 2025 -0300 Inspector: WebGL2 backend version (#31982) * inspector webgl * Update clean-page.js * update * update * Update webgpu_instance_mesh.jpg * puppeteer: add exception `webgpu_volume_lighting`, `webgpu_volume_lighting_rectarea` commit 94ca22d03149b06a59722c0219ce7b4fcae90ae0 Author: Michael Herzog <[email protected]> Date: Tue Sep 30 01:43:06 2025 +0200 WebGPURenderer: Fix compressed texture feature detection for WebGL backend. (#31980) * WebGPURenderer: Fix compressed texture feature detection for WebGL backend. * WebGPUBackend: Fix check. commit c74f0ee037c1ac6729b305c247c399b5b89a80fd Author: sunag <[email protected]> Date: Mon Sep 29 11:50:39 2025 -0300 TSL: Forces assignment of a function call if a loop is detected (2) (#31974) * move fnCall out of context * Revert "move fnCall out of context" This reverts commit 0bb49859246786fdf608b5da07e339d8556ca0df. * Reapply "TSL: Forces assignment of a function call if a loop is detected (#31961)" (#31975) This reverts commit 699e1fa3a2dda4f53dbe31e2b979cf2b2eacf6c1. * Reapply "move fnCall out of context" This reverts commit ee710284ebe5b17f1273a7550c8b0e8599437cba. * Update StackNode.js * updates * Revert "updates" This reverts commit 063a2d22988e69f9cf0fdc699230564298431af2. * Reapply "updates" This reverts commit 3b56e1cba2ee3f96dff7617ba66ed0aade490376. * Update VarNode.js * Update VarNode.js * Update VarNode.js * Update VarNode.js commit 594893f13ea9f252a2e918d2c3755878157220cb Author: sunag <[email protected]> Date: Mon Sep 29 11:47:13 2025 -0300 IsolateNode: Cleanup commit f78c89fd21072de5f02b62258c4159db665eddec Author: Michael Herzog <[email protected]> Date: Mon Sep 29 11:28:48 2025 +0200 WebGLBackend: Fix logs. (#31978) commit 0dfaecd6f78f3d678dce0a1f031f944110a13cef Author: Konsey <[email protected]> Date: Mon Sep 29 10:46:51 2025 +0300 CSS2DRenderer: Add `sortObjects`. (#31946) * Implement automatic z index opt out from css2drenderer * Implement css2dobject depth test property * invert depthtest order * fix comment * implement sortObjects instead commit bf8916dc41d3fbbb255c075827786fcfabdebec0 Author: sunag <[email protected]> Date: Mon Sep 29 02:10:43 2025 -0300 Examples: Update `webgpu_lights_spotlight` with new interface, and improve GUI parameters compatible (#31976) * improve parameters gui * Update webgpu_lights_spotlight.html * parse color * Update Values.js commit e9448975e758ba61a943984c11f637cc13451a7b Author: sunag <[email protected]> Date: Mon Sep 29 01:51:54 2025 -0300 Updated builds. commit b97f111953dc5ddae768e9b68f922f92f46874f8 Author: WestLangley <[email protected]> Date: Mon Sep 29 00:38:58 2025 -0400 Examples: Add shadow intensity to spotlight examples (#31972) * Add shadow intensity control and clean up * Update screenshots * Update StackNode.js * Revert "Update StackNode.js" This reverts commit d77059f6da87a1470992fc1a0e40422b7e029a84. * cleanup --------- commit e80d168055b8863becb2b5b4d70e342914513b9a Author: sunag <[email protected]> Date: Mon Sep 29 00:48:25 2025 -0300 TSL: Fix conditional cache and introduce `isolate()` (#31973) * cleanup * Update FunctionCallNode.js * fix conditional cache * add custom parent scope * Rename `CacheNode` -> `IsolateNode`, `cache()` -> `isolate()` * Update IsolateNode.js commit 699e1fa3a2dda4f53dbe31e2b979cf2b2eacf6c1 Author: sunag <[email protected]> Date: Mon Sep 29 00:28:44 2025 -0300 Revert "TSL: Forces assignment of a function call if a loop is detected (#31961)" (#31975) This reverts commit 27bed7203c3852b17def83bbcd916195fb61e54a. commit a559830a9ed38411c3ff16d810e6535b342ebea3 Author: sunag <[email protected]> Date: Sun Sep 28 20:42:43 2025 -0300 Updated builds. commit f80cc650666742d3612e1816e4d4fcd77cb07df4 Author: Christian Helgeson <[email protected]> Date: Sun Sep 28 16:20:50 2025 -0700 Addons: GPGPU - Fix Bitonic Sort JSDoc and add Ping/Pong Buffers (#31949) * add jsdoc * bitonic sort adjustments * testing, fixing, removing left over gui buttons commit 27bed7203c3852b17def83bbcd916195fb61e54a Author: sunag <[email protected]> Date: Sun Sep 28 18:24:36 2025 -0300 TSL: Forces assignment of a function call if a loop is detected (#31961) * forces assignment of a function call if a loop is detected * Update LoopNode.js * Update LoopNode.js commit 10b9e080259c6141900064316d72680244f26fe6 Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Sep 28 22:57:45 2025 +0200 Update github/codeql-action digest to 3599b3b (#31967) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 1f7b55ee4ae5180e327ca2914032d4049794c5a4 Author: sunag <[email protected]> Date: Sun Sep 28 16:05:13 2025 -0300 WebGPURenderer: Fix binding sampler update (#31971) commit f44e0cbce05156af51d7f8975999e1aaf5cf301f Author: Michael Herzog <[email protected]> Date: Sun Sep 28 20:09:38 2025 +0200 Examples: More inspector usage. (#31964) commit 4f803ab1747ff49c09cdcdc86582a88638d83eac Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Date: Sun Sep 28 18:09:31 2025 +0000 Update dependency rollup to v4.52.3 (#31968) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> commit 5f3a718d58a01c170215a00aab95b86b686816e5 Author: puxiao <[email protected]> Date: Sun Sep 28 00:54:32 2025 +0800 Improve translation accuracy and consistency (#31960) commit 2f952cf54111866bbbd64d73561813922f81953e Author: sunag <[email protected]> Date: Sat Sep 27 11:52:55 2025 -0300 Example.css: Add invert class (#31962) commit b08c95d1f44dd071e82c1a4d003507214aa78c5d Author: sunag <[email protected]> Date: Sat Sep 27 11:52:30 2025 -0300 Inspector: Reuse the last frame if there is desynchronization. (#31963) commit 5ebb122405c9cd97b2947f0df149b50a87b68fa9 Author: sunag <[email protected]> Date: Sat Sep 27 11:05:03 2025 -0300 WebGPUBackend: Cleanup commit dd4a1378a06c826e19ae0ed1b2b609a76cdb930a Author: Adam Roberts <[email protected]> Date: Sat Sep 27 04:01:36 2025 -0700 Corrected issue that causes scaling error on Safari on complex canvas objects (#31931) Co-authored-by: Adam Roberts <[email protected]> commit 3f86d3246b78efe81f63210717c09145cbacfaa0 Author: sunag <[email protected]> Date: Fri Sep 26 15:12:05 2025 -0300 Inspector: Fix panel buttons on mobile (#31958) commit 5baffdb7b5e156bf7850c87c58f6094bea9ac321 Author: Michael Herzog <[email protected]> Date: Fri Sep 26 20:11:39 2025 +0200 Examples: More inspector usage. (#31954) * Examples: More inspector usage. * Update webgpu_animation_retargeting.html * Update webgpu_animation_retargeting.html commit 6ba3cbef700a179b3f7df627b9e719b1876cb69e Author: Anton Bartsits <[email protected]> Date: Fri Sep 26 19:56:08 2025 +0200 Earcut: Updated to latest version. (#31956) * merge latest earcut changes fix hashed earcut not taking the first point into account * updated version headers commit e43225c675a5d84a2f71611f971a56fa6135213f Author: sunag <[email protected]> Date: Fri Sep 26 14:37:05 2025 -0300 WebGPURenderer: Fix tone mapping mode detect (#31957) * fix tone mapping mode detect * cleanup commit b5eb474704dff9954a9cd75c88a08c69d1920a83 Author: sunag <[email protected]> Date: Fri Sep 26 12:18:06 2025 -0300 Updated builds. commit 694555b463846caa95268b0c0cd5277cbfa0a994 Author: Michael Herzog <[email protected]> Date: Fri Sep 26 15:35:01 2025 +0200 Examples: More inspector usage. (#31951) * Examples: More inspector usage. * add post-processing name for Performance tab * rename Inspector to Viewer --------- Co-authored-by: sunag <[email protected]> commit dbdaced1f9fcddab13a4734af243b76d6674c759 Author: Michael Herzog <[email protected]> Date: Fri Sep 26 13:54:21 2025 +0200 Update SSGINode.js Fix JSDoc. commit e0b01bc3dfd596db2e3e0e182749b8cd49acd0f0 Author: Michael Herzog <[email protected]> Date: Fri Sep 26 10:42:51 2025 +0200 Update SSGINode.js Fix JSDoc. commit 1d9cbaec3df7986f5abf223d725ca095a3f3a240 Author: Davide Cristini <[email protected]> Date: Fri Sep 26 09:21:43 2025 +0200 Manual: add a chapter about limiting internal resolution to avoid performance issues (#31942) commit 4df22284241a32f72d153abdc88b4f53a6313951 Author: Christian Helgeson <[email protected]> Date: Thu Sep 25 21:18:26 2025 -0700 TSL: Use GlobalID in Compute Water, Update IndexNode Comments (#31941) * init branch, add comments and warnings to various index node related code * adjust comments * remove comments * fix error * remove invocationGlobalIndex references * remove comment * remove extra IndexNode parameter, unify documentation between IndexNode and WGSLNodeBuilder * unify IndexNode/WGSLNodeBuilder docs commit 48328154c987575b29cfe7e7085863ef260cf27a Author: sunag <[email protected]> Date: Fri Sep 26 01:04:56 2025 -0300 TSL: Introduce `.toInspector()`, `.before()` and node `Viewer` for `Inspector` (#31928) * CanvasTarget: Remove `.samples` ( move to Renderer ) * Node: Introduce `before()` * TSL: Introduce `.toInspector()` * ShadowNode: Add `.toInspector()` * Inspector: Add `Viewer` for nodes * Update examples * cleanup * add inspector for backdrop water example * updates * update * cleanup commit c91c019e242e7e632cdeefd785e041e7d7eb0ff8 Author: Michael Herzog <[email protected]> Date: Fri Sep 26 05:33:45 2025 +0200 Tex…
1 parent 108d871 commit 34f489d

File tree

4,512 files changed

+639794
-356062
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,512 files changed

+639794
-356062
lines changed

.eslintrc.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141
"CodeMirror": "readonly",
4242
"esprima": "readonly",
4343
"jsonlint": "readonly",
44-
"VideoFrame": "readonly"
44+
"VideoFrame": "readonly",
45+
"VideoDecoder": "readonly",
46+
"Float16Array": "readonly"
4547
},
4648
"rules": {
4749
"no-throw-literal": [
@@ -57,6 +59,30 @@
5759
"destructuring": "any",
5860
"ignoreReadBeforeAssign": false
5961
}
62+
],
63+
"no-irregular-whitespace": [
64+
"error"
65+
],
66+
"no-duplicate-imports": [
67+
"error"
68+
],
69+
"prefer-spread": "error",
70+
"valid-jsdoc": [
71+
"error",
72+
{
73+
"requireReturn": false,
74+
"requireReturnType": true,
75+
"requireParamDescription": false,
76+
"requireReturnDescription": false,
77+
"requireParamType": true,
78+
"preferType": {
79+
"Any": "any",
80+
"Boolean": "boolean",
81+
"Number": "number",
82+
"object": "Object",
83+
"String": "string"
84+
}
85+
}
6086
]
6187
}
6288
}

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ It is assumed that you know a little about Node.js and Git. If not, [here's some
1818

1919
* Install the dependencies
2020

21-
npm install
21+
npm ci
2222

2323
## Next Steps
2424

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ body:
3434
attributes:
3535
label: Live example
3636
value: |
37-
* [jsfiddle-latest-release](https://jsfiddle.net/g3atw6k5/)
38-
* [jsfiddle-dev](https://jsfiddle.net/hjqw94c5/)
37+
* [jsfiddle-latest-release WebGLRenderer](https://jsfiddle.net/3mrkqyea/)
38+
* [jsfiddle-dev WebGLRenderer](https://jsfiddle.net/gcqx26jv/)
39+
* [jsfiddle-latest-release WebGPURenderer](https://jsfiddle.net/mnqr9oj0/)
40+
* [jsfiddle-dev WebGPURenderer](https://jsfiddle.net/xno7bmw0/)
3941
validations:
4042
required: true
4143
- type: textarea
@@ -72,6 +74,7 @@ body:
7274
- Firefox
7375
- Safari
7476
- Edge
77+
- Quest Browser
7578
- type: dropdown
7679
id: os
7780
attributes:

.github/codeql-config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ paths-ignore:
55
- "examples/jsm/loaders/ifc/**/*.*"
66
- "build/*.*"
77
- "manual/3rdparty/**/*.*"
8+
- "utils/docs/template/static/scripts/fuse/**/*.*"
9+
- "utils/docs/template/static/scripts/prettify/**/*.*"

.github/workflows/ci.yml

Lines changed: 16 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -11,75 +11,50 @@ permissions:
1111
contents: read
1212

1313
jobs:
14-
lint:
15-
name: Lint testing
14+
test:
15+
name: Lint, Unit, Unit addons, Circular dependencies & Examples testing
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Git checkout
19-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
19+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2020
- name: Install Node
21-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
21+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
2222
with:
23-
node-version: 18
23+
node-version: 22
2424
cache: 'npm'
2525
- name: Install dependencies
2626
run: npm ci
2727

2828
- name: === Lint testing ===
2929
run: npm run lint
3030

31-
unit:
32-
name: Unit testing
33-
runs-on: ubuntu-latest
34-
steps:
35-
- name: Git checkout
36-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
37-
- name: Install Node
38-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
39-
with:
40-
node-version: 18
41-
cache: 'npm'
42-
- name: Install dependencies
43-
run: npm ci
44-
4531
- name: === Unit testing ===
4632
run: npm run test-unit
4733

48-
circular:
49-
name: Circular dependencies testing
50-
runs-on: ubuntu-latest
51-
steps:
52-
- name: Git checkout
53-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
54-
- name: Install Node
55-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
56-
with:
57-
node-version: 18
58-
cache: 'npm'
59-
- name: Install dependencies
60-
run: npm ci
34+
- name: === Unit addons testing ===
35+
run: npm run test-unit-addons
6136

62-
- name: === Circular dependencies testing ===
63-
run: npm run test-circular-deps
37+
- name: === Examples ready for release ===
38+
run: npm run test-e2e-cov
6439

6540
e2e:
6641
name: E2E testing
6742
runs-on: ${{ matrix.os }}
68-
timeout-minutes: 20
43+
timeout-minutes: 30
6944
strategy:
7045
fail-fast: false
7146
matrix:
72-
os: [ windows-latest ]
73-
CI: [ 0, 1, 2, 3 ]
47+
os: [ ubuntu-latest ]
48+
CI: [ 0, 1, 2, 3, 4 ]
7449
env:
7550
CI: ${{ matrix.CI }}
7651
steps:
7752
- name: Git checkout
78-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
53+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
7954
- name: Install Node
80-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
55+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
8156
with:
82-
node-version: 18
57+
node-version: 22
8358
cache: 'npm'
8459
- name: Install dependencies
8560
run: npm ci
@@ -89,26 +64,9 @@ jobs:
8964
- name: === E2E testing ===
9065
run: npm run test-e2e
9166
- name: Upload output screenshots
92-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
67+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
9368
if: always()
9469
with:
9570
name: Output screenshots-${{ matrix.os }}-${{ matrix.CI }}
9671
path: test/e2e/output-screenshots
9772
if-no-files-found: ignore
98-
99-
e2e-cov:
100-
name: Examples ready for release
101-
runs-on: ubuntu-latest
102-
steps:
103-
- name: Git checkout
104-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
105-
- name: Install Node
106-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
107-
with:
108-
node-version: 18
109-
cache: 'npm'
110-
- name: Install dependencies
111-
run: npm ci
112-
113-
- name: === Examples ready for release ===
114-
run: npm run test-e2e-cov

.github/workflows/codeql-code-scanning.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@ jobs:
2626

2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
29+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
3030

3131
# Initializes the CodeQL tools for scanning.
3232
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3
33+
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4
3434
with:
3535
languages: ${{ matrix.language }}
3636
config-file: ./.github/codeql-config.yml
3737
queries: security-and-quality
3838

3939
- name: Autobuild
40-
uses: github/codeql-action/autobuild@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3
40+
uses: github/codeql-action/autobuild@0499de31b99561a6d14a36a5f662c2a54f91beee # v4
4141

4242
- name: Perform CodeQL Analysis
43-
uses: github/codeql-action/analyze@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3
43+
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4
4444
with:
4545
category: "/language:${{matrix.language}}"

.github/workflows/read-size.yml

Lines changed: 24 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Git checkout
23-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
23+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2424
- name: Install Node
25-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
25+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6
2626
with:
27-
node-version: 18
27+
node-version: 22
2828
cache: 'npm'
2929
- name: Install dependencies
3030
run: npm ci
@@ -35,18 +35,33 @@ jobs:
3535
- name: Read bundle sizes
3636
id: read-size
3737
run: |
38-
FILESIZE=$(stat --format=%s build/three.module.min.js)
38+
WEBGL_FILESIZE=$(stat --format=%s build/three.module.min.js)
3939
gzip -k build/three.module.min.js
40-
FILESIZE_GZIP=$(stat --format=%s build/three.module.min.js.gz)
41-
TREESHAKEN=$(stat --format=%s test/treeshake/index.bundle.min.js)
40+
WEBGL_FILESIZE_GZIP=$(stat --format=%s build/three.module.min.js.gz)
41+
WEBGL_TREESHAKEN=$(stat --format=%s test/treeshake/index.bundle.min.js)
4242
gzip -k test/treeshake/index.bundle.min.js
43-
TREESHAKEN_GZIP=$(stat --format=%s test/treeshake/index.bundle.min.js.gz)
43+
WEBGL_TREESHAKEN_GZIP=$(stat --format=%s test/treeshake/index.bundle.min.js.gz)
44+
45+
WEBGPU_FILESIZE=$(stat --format=%s build/three.webgpu.min.js)
46+
gzip -k build/three.webgpu.min.js
47+
WEBGPU_FILESIZE_GZIP=$(stat --format=%s build/three.webgpu.min.js.gz)
48+
WEBGPU_TREESHAKEN=$(stat --format=%s test/treeshake/index.webgpu.bundle.min.js)
49+
gzip -k test/treeshake/index.webgpu.bundle.min.js
50+
WEBGPU_TREESHAKEN_GZIP=$(stat --format=%s test/treeshake/index.webgpu.bundle.min.js.gz)
51+
52+
WEBGPU_NODES_FILESIZE=$(stat --format=%s build/three.webgpu.nodes.min.js)
53+
gzip -k build/three.webgpu.nodes.min.js
54+
WEBGPU_NODES_FILESIZE_GZIP=$(stat --format=%s build/three.webgpu.nodes.min.js.gz)
55+
WEBGPU_NODES_TREESHAKEN=$(stat --format=%s test/treeshake/index.webgpu.nodes.bundle.min.js)
56+
gzip -k test/treeshake/index.webgpu.nodes.bundle.min.js
57+
WEBGPU_NODES_TREESHAKEN_GZIP=$(stat --format=%s test/treeshake/index.webgpu.nodes.bundle.min.js.gz)
58+
4459
PR=${{ github.event.pull_request.number }}
4560
4661
# write the output in a json file to upload it as artifact
47-
node -pe "JSON.stringify({ filesize: $FILESIZE, gzip: $FILESIZE_GZIP, treeshaken: $TREESHAKEN, treeshakenGzip: $TREESHAKEN_GZIP, pr: $PR })" > sizes.json
62+
node -pe "JSON.stringify({ filesize: $WEBGL_FILESIZE, gzip: $WEBGL_FILESIZE_GZIP, treeshaken: $WEBGL_TREESHAKEN, treeshakenGzip: $WEBGL_TREESHAKEN_GZIP, filesize2: $WEBGPU_FILESIZE, gzip2: $WEBGPU_FILESIZE_GZIP, treeshaken2: $WEBGPU_TREESHAKEN, treeshakenGzip2: $WEBGPU_TREESHAKEN_GZIP, filesize3: $WEBGPU_NODES_FILESIZE, gzip3: $WEBGPU_NODES_FILESIZE_GZIP, treeshaken3: $WEBGPU_NODES_TREESHAKEN, treeshakenGzip3: $WEBGPU_NODES_TREESHAKEN_GZIP, pr: $PR })" > sizes.json
4863
- name: Upload artifact
49-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
64+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
5065
with:
5166
name: sizes
5267
path: sizes.json

0 commit comments

Comments
 (0)