Skip to content

Texture3DNode: Remove outdated setupUV().#32630

Merged
Mugen87 merged 1 commit into
mrdoob:devfrom
Mugen87:dev2
Dec 30, 2025
Merged

Texture3DNode: Remove outdated setupUV().#32630
Mugen87 merged 1 commit into
mrdoob:devfrom
Mugen87:dev2

Conversation

@Mugen87
Copy link
Copy Markdown
Collaborator

@Mugen87 Mugen87 commented Dec 29, 2025

Related issue: #30155

Description

The initial version of Texture3DNode had an overwritten setupUV() with a different implementation than the one from TextureNode. After #30155, the overwritten version was aligned. Unfortunately, with #31929 this code is now outdated since TextureNode represents the flip-y boolean as a uniform. To align both classes, the PR removes setupUV() from Texture3DNode.

@github-actions
Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 355.34
84.47
355.34
84.47
+0 B
+0 B
WebGPU 618.89
171.93
618.7
171.86
-194 B
-68 B
WebGPU Nodes 617.5
171.68
617.3
171.61
-194 B
-69 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 487.5
119.33
487.5
119.33
+0 B
+0 B
WebGPU 691.15
187.57
690.96
187.5
-194 B
-77 B
WebGPU Nodes 641
174.81
640.8
174.73
-194 B
-79 B

@Mugen87 Mugen87 added this to the r183 milestone Dec 29, 2025
@Mugen87 Mugen87 merged commit 47ad87b into mrdoob:dev Dec 30, 2025
10 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.

1 participant