Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
8248 commits
Select commit Hold shift + click to select a range
bbaee48
WebGPURenderer: Fix change the current canvas samples (#31924)
sunag Sep 21, 2025
1abd71e
Updated builds.
Mugen87 Sep 21, 2025
c9addf3
Update dependency rollup to v4.52.0 (#31926)
renovate[bot] Sep 21, 2025
ffbce3a
Update webgpu_lights_physical.html
Mugen87 Sep 22, 2025
5a1c63c
NodeMaterial: Fix alpha discard. (#31927)
Mugen87 Sep 22, 2025
d78c8d9
WebGPURenderer: Render bundle work with multiple render targets (#31906)
Berthur Sep 22, 2025
48ecb78
Addons: Bitonic Sort (#31852)
cmhhelgeson Sep 23, 2025
98a40b4
Update link to packLDrawModel script extension (#31938)
jjohnson5253 Sep 24, 2025
05742fe
Bump tar-fs from 3.1.0 to 3.1.1 (#31939)
dependabot[bot] Sep 24, 2025
c91c019
TextureNode: Manage y-flip as a uniform. (#31929)
Mugen87 Sep 26, 2025
4832815
TSL: Introduce `.toInspector()`, `.before()` and node `Viewer` for `I…
sunag Sep 26, 2025
4df2228
TSL: Use GlobalID in Compute Water, Update IndexNode Comments (#31941)
cmhhelgeson Sep 26, 2025
1d9cbae
Manual: add a chapter about limiting internal resolution to avoid per…
davcri Sep 26, 2025
e0b01bc
Update SSGINode.js
Mugen87 Sep 26, 2025
dbdaced
Update SSGINode.js
Mugen87 Sep 26, 2025
694555b
Examples: More inspector usage. (#31951)
Mugen87 Sep 26, 2025
b5eb474
Updated builds.
sunag Sep 26, 2025
e43225c
WebGPURenderer: Fix tone mapping mode detect (#31957)
sunag Sep 26, 2025
6ba3cbe
Earcut: Updated to latest version. (#31956)
tonybart1337 Sep 26, 2025
5baffdb
Examples: More inspector usage. (#31954)
Mugen87 Sep 26, 2025
3f86d32
Inspector: Fix panel buttons on mobile (#31958)
sunag Sep 26, 2025
dd4a137
Corrected issue that causes scaling error on Safari on complex canvas…
pvtech-adam Sep 27, 2025
5ebb122
WebGPUBackend: Cleanup
sunag Sep 27, 2025
b08c95d
Inspector: Reuse the last frame if there is desynchronization. (#31963)
sunag Sep 27, 2025
2f952cf
Example.css: Add invert class (#31962)
sunag Sep 27, 2025
5f3a718
Improve translation accuracy and consistency (#31960)
puxiao Sep 27, 2025
4f803ab
Update dependency rollup to v4.52.3 (#31968)
renovate[bot] Sep 28, 2025
f44e0cb
Examples: More inspector usage. (#31964)
Mugen87 Sep 28, 2025
1f7b55e
WebGPURenderer: Fix binding sampler update (#31971)
sunag Sep 28, 2025
10b9e08
Update github/codeql-action digest to 3599b3b (#31967)
renovate[bot] Sep 28, 2025
27bed72
TSL: Forces assignment of a function call if a loop is detected (#31961)
sunag Sep 28, 2025
f80cc65
Addons: GPGPU - Fix Bitonic Sort JSDoc and add Ping/Pong Buffers (#31…
cmhhelgeson Sep 28, 2025
a559830
Updated builds.
sunag Sep 28, 2025
699e1fa
Revert "TSL: Forces assignment of a function call if a loop is detect…
sunag Sep 29, 2025
e80d168
TSL: Fix conditional cache and introduce `isolate()` (#31973)
sunag Sep 29, 2025
b97f111
Examples: Add shadow intensity to spotlight examples (#31972)
WestLangley Sep 29, 2025
e944897
Updated builds.
sunag Sep 29, 2025
bf8916d
Examples: Update `webgpu_lights_spotlight` with new interface, and im…
sunag Sep 29, 2025
0dfaecd
CSS2DRenderer: Add `sortObjects`. (#31946)
Konseyy Sep 29, 2025
f78c89f
WebGLBackend: Fix logs. (#31978)
Mugen87 Sep 29, 2025
594893f
IsolateNode: Cleanup
sunag Sep 29, 2025
c74f0ee
TSL: Forces assignment of a function call if a loop is detected (2) (…
sunag Sep 29, 2025
94ca22d
WebGPURenderer: Fix compressed texture feature detection for WebGL ba…
Mugen87 Sep 29, 2025
b067191
Inspector: WebGL2 backend version (#31982)
sunag Sep 30, 2025
8a9f4d0
Updated builds.
sunag Sep 30, 2025
11b9f41
Examples: More inspector usage. (#31984)
sunag Sep 30, 2025
b871d35
Enable touch for css3d_mixed example (#31979)
neilrackett Sep 30, 2025
169d4e1
Examples: More Inspector usage. (#31988)
Mugen87 Sep 30, 2025
2cbc7af
New Docs: Added redirects for old docs URL (#31986)
mrdoob Oct 1, 2025
2a02884
SVGLoader: Make node transform parsing more robust. (#31985)
Mugen87 Oct 1, 2025
ec4c9b2
PassNode: Ensure clear of internal render target. (#31993)
Mugen87 Oct 1, 2025
b73a55a
Transpiler: Fix immutable to dynamic parameter conversion and `webgpu…
sunag Oct 1, 2025
5be8714
Inspector: Add semi-transparent background (#31997)
sunag Oct 1, 2025
3890354
GLSLNodeBuilder: Adjustments and Polyfill (#31999)
cmhhelgeson Oct 2, 2025
9e7a65c
Updated builds.
sunag Oct 2, 2025
72cd0f8
Examples: More Inspector usage and revisions. (#31995)
sunag Oct 2, 2025
4072855
Update webgpu_shadowmap_csm.html
Mugen87 Oct 2, 2025
e72ae51
New Docs: Reduce folder size (#31992)
mrdoob Oct 2, 2025
cbc975b
WebGLBackend: Fix functions with struct layouts cannot resolve struct…
shotamatsuda Oct 2, 2025
3410b48
Examples/Inspector: Revisions (#32003)
sunag Oct 3, 2025
758b654
Updated builds.
sunag Oct 3, 2025
9178da5
New Docs: Updated templates with old design. (#32002)
mrdoob Oct 3, 2025
3220e98
USDZExporter: Improve material prop types and setup (#32008)
mkeblx Oct 4, 2025
8c51636
Fix Uint32Array initialization (#32011)
Methuselah96 Oct 5, 2025
eec8678
Update devDependencies (non-major) (#32014)
renovate[bot] Oct 5, 2025
489b3cd
Update github/codeql-action digest to 64d10c1 (#32013)
renovate[bot] Oct 5, 2025
c7f57a8
Inspector: Improve precision (#32007)
sunag Oct 5, 2025
cee5c44
fix typos (#32017)
s-rigaud Oct 5, 2025
1f5801d
Examples: clean up (#32018)
s-rigaud Oct 6, 2025
d0d7147
Update peter-evans/find-comment action to v4 (#32016)
renovate[bot] Oct 6, 2025
6d29214
Update peter-evans/create-or-update-comment action to v5 (#32015)
renovate[bot] Oct 6, 2025
cfd6be3
ShadowNode: Fix shadows in first frame. (#32021)
Mugen87 Oct 6, 2025
ebe7669
New Docs: Improved generation speed by 7.5x (#32023)
mrdoob Oct 7, 2025
2b5a2ac
TubePainter: Improved generated geometry and added caps. (#32025)
mrdoob Oct 7, 2025
e180974
WebGPURenderer: Allow manual mipmap creation with StorageTexture (#31…
RenaudRohlinger Oct 7, 2025
69317a8
Renderer: Deprecate `renderAsync()`. (#32022)
Mugen87 Oct 7, 2025
785031e
Renderer: Deprecate some async methods. (#32026)
Mugen87 Oct 7, 2025
a450c67
Renderer: Remove `waitForGPU()`. (#32024)
Mugen87 Oct 7, 2025
4bad896
Updated builds.
Mugen87 Oct 7, 2025
7ff8fe1
Revert "New Docs: Improved generation speed by 7.5x (#32023)" (#32027)
mrdoob Oct 8, 2025
6823e43
Update jsdoc to 4.0.5
mrdoob Oct 8, 2025
da275a4
NodeBuilder - Add Hints in Comments (#32004)
cmhhelgeson Oct 8, 2025
9aad521
Renderer: Fix breakage in deprecated methods. (#32029)
Mugen87 Oct 9, 2025
56013e0
TubePainter: Fixed end caps and removed object allocations (#32030)
mrdoob Oct 9, 2025
2a0228c
Examples: Don’t use `property()` for creating variables (#32028)
shotamatsuda Oct 9, 2025
195f172
Examples: Fix compute_texture_pingpong example (#32039)
RenaudRohlinger Oct 11, 2025
eeda755
Docs: Fix errors in the zh docs' example code and translate code comm…
pangda9527 Oct 11, 2025
00d1804
Examples: Update deprecate async methods. (#32033)
sunag Oct 11, 2025
2ab3390
Renderer: Deprecate `computeAsync()` (#32042)
sunag Oct 12, 2025
a33da3c
New Docs: Generate old docs system and design (#32036)
mrdoob Oct 12, 2025
28dcaf5
New Docs: Fixed left padding / media queries.
mrdoob Oct 12, 2025
64d3d97
New Docs: Use custom scrollIntoView.
mrdoob Oct 12, 2025
ed360e8
New Docs: Removed unused page container.
mrdoob Oct 12, 2025
5d1859a
Update webgpu_materials_transmission.html
Mugen87 Oct 12, 2025
73486f3
Update github/codeql-action digest to 755f449 (#32044)
renovate[bot] Oct 12, 2025
0aa04e1
Update dependency qunit to v2.24.2 (#32045)
renovate[bot] Oct 12, 2025
ecad1ec
Update github/codeql-action action to v4 (#32046)
renovate[bot] Oct 12, 2025
1c2d462
GlitchPass: fix heightMap member name (#32047)
joey8angelo Oct 13, 2025
e9c27c5
Update SSGINode.js
Mugen87 Oct 13, 2025
c861af1
New Docs: Add translation disable flags (#32048)
mrdoob Oct 13, 2025
a02ba14
New Docs: Fixed examples layout breakage.
mrdoob Oct 13, 2025
21009eb
TubePainter: Replace disk caps with hemisphere caps.
mrdoob Oct 13, 2025
cadb42b
Update SSGINode.js
Mugen87 Oct 13, 2025
cf605b4
Update CanvasTarget to remove antialiasing option (#32051)
Methuselah96 Oct 14, 2025
b65bc7a
SelectionBox: Add support for batchedMesh (#32052)
sunjiang0018 Oct 14, 2025
4b510df
New Docs: Improved text rendering on MacOS.
mrdoob Oct 14, 2025
1ef2932
New Docs: Handle page properties/methods links.
mrdoob Oct 14, 2025
71c6a2b
Updated builds.
mrdoob Oct 14, 2025
df5aa82
Examples: Cleanup. (#32057)
Methuselah96 Oct 15, 2025
c2a5593
TSL: Fix auto type conversion for layout parameters (#32059)
sunag Oct 15, 2025
bd3fe1f
WebGLRenderer: Try DFG LUT instead of Analytical approximation. (#32054)
mrdoob Oct 15, 2025
9b0d093
Examples: Improved WebGPU PMREM examples.
mrdoob Oct 15, 2025
5e3cd6c
Examples: Added WebGL PMREM examples.
mrdoob Oct 15, 2025
3618531
Examples: Clean up.
mrdoob Oct 15, 2025
29dbaed
Updated builds.
mrdoob Oct 15, 2025
a31517a
Examples: Update `webgpu_lines_fat_raycasting` (#32060)
sunag Oct 15, 2025
7527f40
TSL: Resolve some name collision (#32032)
sunag Oct 15, 2025
154e145
MaterialXLoader: Use ImageBitmapLoader to prevent blocking.
mrdoob Oct 15, 2025
2cfd573
SSSNode: Add new node for Screen-Space Shadows. (#32050)
Mugen87 Oct 15, 2025
2b5ea30
Renderer: Fix transmission flicker. (#32043)
Mugen87 Oct 15, 2025
f972284
DRACOLoader: Implement data alignment for WebGPU (#31991)
donmccurdy Oct 15, 2025
1225f52
FontLoader: Add text direction. (#31683)
Rikahei Oct 15, 2025
2746aae
Updated builds.
Mugen87 Oct 15, 2025
3a0a8d9
Examples: fix incorrect field assignment (#32056)
jonsmithers Oct 15, 2025
e225530
Utils: Increase DFG sample count to 4096.
mrdoob Oct 16, 2025
3a7aa4d
Updated builds.
mrdoob Oct 16, 2025
057d341
UnrealBloomPass: Backported changes from #31528
mrdoob Oct 16, 2025
2cff147
Examples: Improved UnrealBloomPass examples.
mrdoob Oct 16, 2025
b61441d
Examples: Improved watch example.
mrdoob Oct 16, 2025
34f3fa6
WebGPURenderer: DFG LUT instead of Analytical approximation. (#32061)
sunag Oct 16, 2025
a477798
DFGLUT: Clean up.
mrdoob Oct 16, 2025
060342f
Updated builds.
mrdoob Oct 16, 2025
bca53e6
MaterialXLoader: Fixed flipped textures.
mrdoob Oct 16, 2025
260d0c4
PMREMGenerator: Deprecated async functions (#32063)
sunag Oct 16, 2025
9f998dd
Docs: Add type annotations for dispatch size in `ComputeNode` (#32068)
shotamatsuda Oct 16, 2025
59055ed
Examples: Update screenshots (#32069)
sunag Oct 16, 2025
6d15bf7
Updated builds.
mrdoob Oct 17, 2025
39b0500
WebGLRenderer: Clean up.
mrdoob Oct 17, 2025
7ee24a2
Removed WebGL 1.0 left overs. (#32071)
mrdoob Oct 17, 2025
3c494f0
Updated builds.
mrdoob Oct 17, 2025
62e6f43
WebGLRenderer: Use WebGL 2.0 native transpose().
mrdoob Oct 17, 2025
b140fba
TSL: Move Interleaved Gradient Noise into `PostProcessingUtils`. (#32…
Mugen87 Oct 17, 2025
d5ffcf9
TSL: Fix recursive cache key (#32070)
sunag Oct 17, 2025
e0fdb24
GTAONode: Add basic support for temporal filtering. (#32076)
Mugen87 Oct 18, 2025
97b4c51
Nodes: Fix size computations in FX/RTT nodes. (#32077)
Mugen87 Oct 18, 2025
c265195
Updated builds.
Mugen87 Oct 18, 2025
26e01af
Add char direction in doc (#32078)
Rikahei Oct 19, 2025
368c7e1
apply constraint immd (#32081)
ycw Oct 19, 2025
4c58473
reset internal state rVFCId (#32082)
ycw Oct 19, 2025
5bf9602
fix (#32080)
ycw Oct 19, 2025
7f5f8c8
fix logic, typo ... (#32083)
ycw Oct 19, 2025
cbe52bc
Add aoNode to NodeMaterial clone (#32084)
querielo Oct 19, 2025
c41f1d2
Update github/codeql-action digest to 16140ae (#32085)
renovate[bot] Oct 19, 2025
b50ba5e
Update devDependencies (non-major) (#32086)
renovate[bot] Oct 19, 2025
798408f
Update actions/setup-node action to v6 (#32087)
renovate[bot] Oct 19, 2025
3a987fa
e2e: Set userDataDir for Puppeteer.
mrdoob Oct 20, 2025
b3dde01
e2e: Fixed RAF bug in deterministic-injection.js
mrdoob Oct 20, 2025
b839e00
E2E: Improved robustness (#32091)
mrdoob Oct 21, 2025
11751a0
Update PhysicalLightingModel.js (#32094)
sunag Oct 21, 2025
6da6c51
WebGLRenderer: Add multi-scattering energy compensation for direct li…
mrdoob Oct 21, 2025
8409754
WebGPURenderer: Add multi-scattering energy compensation for direct l…
mrdoob Oct 21, 2025
7dec10b
TSL: Ensure `nodeProxyIntent` always sets intent: true (fix spread or…
querielo Oct 21, 2025
a4ee108
Updated builds.
mrdoob Oct 21, 2025
ebc5849
Add exception to exceptionList for css3d_mixed
mrdoob Oct 21, 2025
eeda214
GLTFLoader: add KHR_animation_pointer and NEEDLE_progressive (#32096)
marwie Oct 21, 2025
4bd6e36
E2E: Revised exception list (#32090)
mrdoob Oct 21, 2025
89b6cd1
TSL: Refactor `positionViewDirection` to handle orthographic camera c…
querielo Oct 21, 2025
e245463
TSL: Cleanup
sunag Oct 21, 2025
76c754f
Updated builds.
mrdoob Oct 22, 2025
c1c42e6
Updated screenshot.
mrdoob Oct 22, 2025
b2c3aef
WebGLRenderer: Improve rough reflection mixing for IBL (#32102)
mrdoob Oct 22, 2025
9aa014f
WebGPURenderer: Improve rough reflection mixing for IBL (#32108)
mrdoob Oct 22, 2025
b8167d7
Updated builds.
mrdoob Oct 22, 2025
061ae57
Removed legacy docs. (#32117)
mrdoob Oct 23, 2025
6618a69
Added new docs generated with JSDocs (#32118)
mrdoob Oct 23, 2025
b484238
Docs: Changed absolute paths to relative paths.
mrdoob Oct 23, 2025
96fe466
Docs: Clean up.
mrdoob Oct 23, 2025
1dd9ba5
WebGPURenderer: Fix material transparent assignment (#32110)
sunag Oct 23, 2025
be24f9d
TSL: Fix `overloadingFn` return type (#32112)
sunag Oct 23, 2025
d875fe1
KTX2Loader: Honor `setRequestHeader()`. (#32115)
LR17 Oct 24, 2025
d043955
WebGPURenderer: Enable dynamic shadowMap type switching. (#32105)
querielo Oct 26, 2025
d033d87
Update github/codeql-action digest to 4e94bd1 (#32121)
renovate[bot] Oct 26, 2025
b24a791
Update devDependencies (non-major) (#32122)
renovate[bot] Oct 26, 2025
8bcb114
WebGPURenderer: Introduce dispatchWorkgroupsIndirect (#31488)
Spiri0 Oct 27, 2025
ca94c69
ViewHelper: Add `OffscreenCanvas` support. (#32128)
Mugen87 Oct 27, 2025
f957f0b
Update ViewHelper.js
Mugen87 Oct 27, 2025
babe7f2
Update ViewHelper.js
Mugen87 Oct 27, 2025
158c1c4
WebGPURenderer: Improve shader validation (#32130)
sunag Oct 27, 2025
e87bd65
WebGPURenderer: Fix dispose `RenderTarget` textures (#32131)
sunag Oct 27, 2025
a55dcde
Selective Bloom Example: Add bloomStrength uniform to enhance bloom e…
querielo Oct 28, 2025
ec5e881
update links to []() format in JSdoc comments (#32132)
marwie Oct 28, 2025
f2d10b8
PMREM: Implement GGX VNDF importance sampling (#32114)
mrdoob Oct 28, 2025
e1388ac
Updated builds.
mrdoob Oct 28, 2025
050a8a5
Clean up.
mrdoob Oct 28, 2025
1dcf175
Updated builds.
mrdoob Oct 28, 2025
ca2f49e
WebGPURenderer: Fix types for indirect compute and modify example to …
TheBlek Oct 28, 2025
8a74698
TSL: Add active stack and improve "node block" support (#32109)
sunag Oct 28, 2025
2cb4d6e
Updated docs.
mrdoob Oct 28, 2025
a45e0ba
Updated builcs.
mrdoob Oct 28, 2025
465de05
Inspector: Fix `NaN` value
sunag Oct 28, 2025
5d3d5ec
Merge branch 'dev' of https://github.com/mrdoob/three.js into dev
sunag Oct 28, 2025
7aa546b
Revert "Merge branch 'dev' of https://github.com/mrdoob/three.js into…
sunag Oct 28, 2025
b291497
Reapply "Merge branch 'dev' of https://github.com/mrdoob/three.js int…
sunag Oct 28, 2025
e6084f9
LoadingManager: Lazily instantiate abort controller. (#32120)
NuroDev Oct 28, 2025
0be950c
TSL: Assign stack for nodes after remove stack (#32137)
sunag Oct 29, 2025
e681ffb
WebGPURenderer: Improve cache key verification (#32138)
sunag Oct 29, 2025
5760cc0
Updated builds.
mrdoob Oct 29, 2025
4342d10
WebGPURenderer: Implement GGX VNDF importance sampling for PMREM (#32…
mrdoob Oct 29, 2025
30c1ac4
AfterImageNode: Fix swap. (#32140)
Mugen87 Oct 29, 2025
7b65617
Examples: Visualize normal as color in inspector `webgpu_postprocessi…
ycw Oct 29, 2025
30fdd5c
TSL: Add `OnBefore*` events (#32144)
sunag Oct 29, 2025
3e8b26e
TSL: Fix get element through an output `Fn` value (#32143)
sunag Oct 30, 2025
1d9c5a0
EventNode: Add `.BEFORE_OBJECT`
sunag Oct 30, 2025
5727e0c
Updated builds.
sunag Oct 30, 2025
ec09789
Add exceptions for long-running tests in puppeteer
mrdoob Oct 30, 2025
00f9f68
Updated docs.
mrdoob Oct 30, 2025
b5e596d
Increase GGX_SAMPLES from 1024 to 2048 (#32148)
mrdoob Oct 30, 2025
cbd052a
TRAANode: Add adaptive blend weights. (#32139)
Mugen87 Oct 30, 2025
e04b9f7
Clean up.
mrdoob Oct 30, 2025
a2d4aa5
Examples: Cleanup `webgpu_postprocessing_ao` (#32153)
sunag Oct 31, 2025
d579757
PMREM: Improved performance (lower quality) and removed Mesh allocati…
mrdoob Oct 31, 2025
b603d3e
Updated builds.
mrdoob Oct 31, 2025
fb7d418
Updated package-lock.json
mrdoob Oct 31, 2025
9e6165f
Docs: Fixed properties layout. (#32156)
mrdoob Oct 31, 2025
f887f89
Updated docs.
mrdoob Oct 31, 2025
f265b19
r181
mrdoob Oct 31, 2025
94f3283
PixelationPassNode: Fix zero normal processing. (#32159)
Mugen87 Oct 31, 2025
71349ad
Update GTAONode.js
Mugen87 Oct 31, 2025
3c2dc9d
WGSLNodeBuilder: Improve `StorageTexture3D` support (#32150)
RenaudRohlinger Oct 31, 2025
836ceeb
Docs: Fix external links (#32161)
mrdoob Nov 1, 2025
ff7fd61
Matrix4: Optimize determinant() calculation (#32157)
mrdoob Nov 1, 2025
355ff99
Update README badges
mrdoob Nov 1, 2025
50f79bb
Docs: Redirect /pages/ClassName.html to /#ClassName.
mrdoob Nov 1, 2025
680d8f8
Docs: Improved search with category matching. (#32164)
mrdoob Nov 1, 2025
b3b8301
Docs: Add missing `@private` annotation. (#32165)
Mugen87 Nov 1, 2025
42fe8c5
Docs: Fix ShadowNode JSDoc. (#32166)
Mugen87 Nov 1, 2025
aa95321
NodeBuilder: Add Missing vector types to `generateConst` (#32162)
cmhhelgeson Nov 1, 2025
3507b2b
Examples: Fix chromatic aberration type usage of caustics example (#3…
sunag Nov 2, 2025
6588408
Examples: Improve BPCEM demo. (#32172)
Mugen87 Nov 2, 2025
1239754
Update actions/upload-artifact action to v5 (#32174)
renovate[bot] Nov 2, 2025
21ee450
Update github/codeql-action digest to 0499de3 (#32173)
renovate[bot] Nov 2, 2025
e50123a
Inspector: Fix slider dimensions. (#32177)
Mugen87 Nov 4, 2025
fb57806
TSL: Add `texture3DLoad` and `texture3DLevel` (#32171)
RenaudRohlinger Nov 4, 2025
56d1374
Examples: Fix thumbnail of backdrop demo. (#32178)
Mugen87 Nov 4, 2025
ecf3945
Update REVISION constant to '182dev'
mrdoob Nov 4, 2025
d7876b8
Updated builds.
mrdoob Nov 4, 2025
697c490
Update OffscreenCanvas support details (#32184)
aganders3 Nov 4, 2025
7d7f420
Update multiple-scenes.html
Mugen87 Nov 4, 2025
825baf9
TSL: Check for `undefined` in `uniform()`. (#32183)
Mugen87 Nov 4, 2025
2eefcd6
Remove unused parameter from optimize method in BatchedMesh class (#3…
querielo Nov 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
88 changes: 88 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"root": true,
"env": {
"browser": true,
"node": true,
"es2018": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"extends": [
"mdcs",
"plugin:compat/recommended"
],
"plugins": [
"html",
"import"
],
"settings": {
"polyfills": [
"WebGL2RenderingContext"
]
},
"globals": {
"__THREE_DEVTOOLS__": "readonly",
"potpack": "readonly",
"fflate": "readonly",
"Stats": "readonly",
"XRWebGLBinding": "readonly",
"XRWebGLLayer": "readonly",
"GPUShaderStage": "readonly",
"GPUBufferUsage": "readonly",
"GPUTextureUsage": "readonly",
"GPUTexture": "readonly",
"GPUMapMode": "readonly",
"QUnit": "readonly",
"Ammo": "readonly",
"XRRigidTransform": "readonly",
"XRMediaBinding": "readonly",
"CodeMirror": "readonly",
"esprima": "readonly",
"jsonlint": "readonly",
"VideoFrame": "readonly",
"VideoDecoder": "readonly",
"Float16Array": "readonly"
},
"rules": {
"no-throw-literal": [
"error"
],
"quotes": [
"error",
"single"
],
"prefer-const": [
"error",
{
"destructuring": "any",
"ignoreReadBeforeAssign": false
}
],
"no-irregular-whitespace": [
"error"
],
"no-duplicate-imports": [
"error"
],
"prefer-spread": "error",
"valid-jsdoc": [
"error",
{
"requireReturn": false,
"requireReturnType": true,
"requireParamDescription": false,
"requireReturnDescription": false,
"requireParamType": true,
"preferType": {
"Any": "any",
"Boolean": "boolean",
"Number": "number",
"object": "Object",
"String": "string"
}
}
]
}
}
35 changes: 16 additions & 19 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Contribution
## Introduction

It is assumed that you know a little about node.js and git. If not, [here's some help to get started with git](https://help.github.com/en/github/using-git) and [here’s some help to get started with node.js.](https://nodejs.org/en/docs/guides/getting-started-guide/)
It is assumed that you know a little about Node.js and Git. If not, [here's some help to get started with Git](https://help.github.com/en/github/using-git) and [here’s some help to get started with Node.js.](https://nodejs.org/en/docs/guides/getting-started-guide/)

* Install [Node.js](https://nodejs.org/)
* Install [Git](https://git-scm.com/)
Expand All @@ -18,27 +18,28 @@ It is assumed that you know a little about node.js and git. If not, [here's some

* Install the dependencies

npm install
npm ci

## Next Steps

As per the npm standard, ‘start’ is the place to begin the package.

npm start

This script will start a local server similar to [threejs.org](https://threejs.org/), but instead will be hosted on your local machine. Browse to http://localhost:8080/ to check it out. It also automatically creates the build/three.js’ and ‘build/three.module.js’ scripts anytime there is a change within your three.js directory.
This script will start a local server similar to [threejs.org](https://threejs.org/), but instead will be hosted on your local machine. Browse to https://localhost:8080/ to check it out. It also automatically creates the `build/three.module.js` script anytime there is a change `src` directory.

The next most important script runs all the appropriate testing. The E-2-E testing is intended to be run by github actions.
Next scripts run all the appropriate testing.

npm test
- `npm run test` - Lint testing and unit testing (individually being `npm run lint` and `npm run test-unit`)
- `npm run test-e2e` - E2E testing. This one can take quite a long time and installs ~200 MB Chromium browser - it is primarily intended to be run only by GitHub Actions

The linting is there to keep a consistent code-style across the all of the code and the testing is there to help catch bugs and check that the code behaves as expected. It is important that neither of these steps comes up with any errors due to your changes.
The linting is there to keep a consistent code style across all of the code and the testing is there to help catch bugs and check that the code behaves as expected. It is important that neither of these steps comes up with any errors due to your changes.

Many linting errors can be fixed automatically by running
Most linting errors can be fixed automatically by running

npm lint-fix
npm run lint-fix

If you’d like to make a minified version of the build files i.e. ‘build/three.min.js run:
If you’d like to make a build of the source files (e.g. `build/three.module.js`) run:

npm run build

Expand All @@ -63,20 +64,16 @@ When you’ve decided to make changes, start with the following:

## Important notes:

* Don't include any build files to your commit.
* Don't include any build files in your commit.
* Not all new features will need a new example. Simpler features could be incorporated into an existing example. Bigger features may be asked to add an example demonstrating the feature.
* Making changes may require changes to the documentation. To update the docs in other languages, simply copy the English to begin with.
* it's good to also add an example and screenshot for it, for showing how it's used and for end-to-end testing.
* It's good to also add an example and screenshot for it, for showing how it's used and for end-to-end testing.
* If you modify existing code, run relevant examples to check they didn't break and there wasn't performance regress.
* If you add some assets for the examples (models, textures, sounds, etc), make sure they have a proper license allowing for their use here, less restrictive the better. It is unlikely for large assets to be accepted.
* If some issue is relevant to patch / feature, please mention it with hash (e.g. #2774) in a commit message to get cross-reference in GitHub.
* If you modify files in `examples/jsm` directory, then don't perform any changes in the `examples/js`, non-module files are auto-generated by running `npm run build-examples`.
* If end-to-end test failed in Travis and you are sure that all is correct, make a new screenshots with

npm run make-screenshot <example_1_name> ...<example_N_name>

* Once done with a patch / feature do not add more commits to a feature branch
* If some issue is relevant to the patch/feature, please mention it with a hash (e.g. #2774) in a commit message to get cross-reference in GitHub.
* If the end-to-end test failed and you are sure that all is correct, follow the instructions it outputs.
* Once done with a patch/feature do not add more commits to a feature branch.
* Create separate branches per patch or feature.
* If you make a PR but it is not actually ready to be pulled into the dev branch then please [convert it to a draft PR](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/changing-the-stage-of-a-pull-request#converting-a-pull-request-to-a-draft).

This project is currently contributed to mostly via everyone's spare time. Please keep that in mind as it may take some time for the appropriate feedback to get to you. If you are unsure about adding a new feature, it might be better to ask first to see whether other people think it's a good idea.
This project is currently contributed mostly via everyone's spare time. Please keep that in mind as it may take some time for the appropriate feedback to get to you. If you are unsure about adding a new feature, it might be better to ask first to see whether other people think it's a good idea.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# These are supported funding model platforms

github: [mrdoob, HumanInteractive, donmccurdy]
github: [mrdoob, HumanInteractive, donmccurdy, gkjohnson, WestLangley]
47 changes: 0 additions & 47 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

89 changes: 89 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: Bug Report
description: File a reproducible bug or regression.
body:
- type: textarea
id: description
attributes:
label: Description
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: repro
attributes:
label: Reproduction steps
description: How do you trigger this bug? Please walk us through it step by step.
value: |
1.
2.
3.
validations:
required: true
- type: textarea
id: code
attributes:
label: Code
value: |
```js
// code goes here
```
validations:
required: true
- type: textarea
id: example
attributes:
label: Live example
value: |
* [jsfiddle-latest-release WebGLRenderer](https://jsfiddle.net/3mrkqyea/)
* [jsfiddle-dev WebGLRenderer](https://jsfiddle.net/gcqx26jv/)
* [jsfiddle-latest-release WebGPURenderer](https://jsfiddle.net/mnqr9oj0/)
* [jsfiddle-dev WebGPURenderer](https://jsfiddle.net/xno7bmw0/)
validations:
required: true
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to help explain your problem (drag and drop the image).
validations:
required: false
- type: input
id: version
attributes:
label: Version
description: What version of the library are you using?
placeholder: r
validations:
required: true
- type: dropdown
id: device
attributes:
label: Device
multiple: true
options:
- Desktop
- Mobile
- Headset
- type: dropdown
id: browser
attributes:
label: Browser
multiple: true
options:
- Chrome
- Firefox
- Safari
- Edge
- Quest Browser
- type: dropdown
id: os
attributes:
label: OS
multiple: true
options:
- Windows
- MacOS
- Linux
- ChromeOS
- Android
- iOS
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Feature request
description: Suggest an idea for the project.
body:
- type: textarea
id: description
attributes:
label: Description
description: Is your feature request related to a problem? Please describe.
placeholder: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
id: solution
attributes:
label: Solution
description: Describe the solution you'd like.
placeholder: A clear and concise description of what you want to happen.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives
description: Describe alternatives you've considered.
placeholder: A clear and concise description of any alternative solutions or features you've considered.
validations:
required: true
- type: textarea
id: additional
attributes:
label: Additional context
description: Add any other context about the feature request here.
validations:
required: false
9 changes: 9 additions & 0 deletions .github/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
paths-ignore:
- "docs/prettify/**/*.*"
- "editor/js/libs/**/*.*"
- "examples/jsm/libs/**/*.*"
- "examples/jsm/loaders/ifc/**/*.*"
- "build/*.*"
- "manual/3rdparty/**/*.*"
- "utils/docs/template/static/scripts/fuse/**/*.*"
- "utils/docs/template/static/scripts/prettify/**/*.*"
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ A clear and concise description of what the problem was and how this pull reques

<!-- Remove the line below if is not relevant -->

This contribution is funded by [Example](https://example.com).
*This contribution is funded by [Example](https://example.com)*
Loading