Skip to content

WebGLPrograms: Fix cache key with gradient maps.#31292

Merged
Mugen87 merged 1 commit intomrdoob:devfrom
Mugen87:dev4
Jun 20, 2025
Merged

WebGLPrograms: Fix cache key with gradient maps.#31292
Mugen87 merged 1 commit intomrdoob:devfrom
Mugen87:dev4

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Jun 20, 2025

Fixed #31290.

Description

MeshToonMaterial.gradientMap was not honored when computing the program cache key.

@Mugen87 Mugen87 added this to the r178 milestone Jun 20, 2025
@github-actions
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 337.54
78.73
337.57
78.74
+28 B
+8 B
WebGPU 555.83
154
555.83
154
+0 B
+0 B
WebGPU Nodes 555.18
153.84
555.18
153.84
+0 B
+0 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.76
113.39
+28 B
+7 B
WebGPU 632.05
171.06
632.05
171.06
+0 B
+0 B
WebGPU Nodes 587.1
160.36
587.1
160.36
+0 B
+0 B

@Mugen87 Mugen87 merged commit 1c78abf into mrdoob:dev Jun 20, 2025
12 checks passed
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.

Updating the gradientMap on a MeshToonMaterial

1 participant