Skip to content

TSL: Move MatcapUVNode to matcapUV Fn constant #31284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 20, 2025
Merged

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Jun 19, 2025

Description

Simplification. Move MatcapUVNode to matcapUV Fn constant.

Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 337.54
78.73
337.54
78.73
+0 B
+0 B
WebGPU 556.43
154.15
556.36
154.14
-64 B
-7 B
WebGPU Nodes 555.78
153.99
555.71
153.98
-64 B
-6 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 468.74
113.38
468.74
113.38
+0 B
+0 B
WebGPU 632.24
171.08
632.19
171.09
-45 B
+7 B
WebGPU Nodes 587.24
160.39
587.24
160.39
+0 B
+0 B

@sunag sunag added this to the r178 milestone Jun 19, 2025
@sunag sunag changed the title TSL: Move MatcapUVNode to matcapUV() Fn constant TSL: Move MatcapUVNode to matcapUV Fn constant Jun 19, 2025
@sunag sunag marked this pull request as ready for review June 20, 2025 00:44
@sunag sunag merged commit c1c72c7 into mrdoob:dev Jun 20, 2025
12 checks passed
@sunag sunag deleted the dev-matcapUV branch June 20, 2025 00:45
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