Skip to content

Conversation

mrdoob
Copy link
Owner

@mrdoob mrdoob commented Oct 15, 2025

Related issue: #32054

Description

@sunag For yout amusement, this is Claude's attempt at writing a compute that generates the DFG LUT at init time.

Unfortunately this wouldn't work on the WebGL backend because it uses StorageTexture.

Copy link

github-actions bot commented Oct 15, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 349.9
84.86
349.9
84.86
+0 B
+0 B
WebGPU 591.1
163.33
593.24
164.25
+2.15 kB
+924 B
WebGPU Nodes 589.7
163.13
591.85
163.95
+2.15 kB
+817 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 481.57
119.64
481.57
119.64
+0 B
+0 B
WebGPU 660.52
178.66
664.02
179.95
+3.5 kB
+1.3 kB
WebGPU Nodes 614.53
167.84
614.53
167.84
+0 B
+0 B

@mrdoob mrdoob closed this Oct 17, 2025
@mrdoob mrdoob deleted the dfglut_compute branch October 17, 2025 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant