Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented Dec 12, 2025

Related issue: #32243

Description

The goal is to unify the uniform groups from different shader stages into a single one shared, thus avoiding updating some buffers in two different places. The main focus of the unification is to facilitate the sharing of groups between similar objects, since this would be more complicated if they were separated between vertex binding groups and fragment shaders.

This is still part of the update that is being done in #32243

@sunag sunag changed the title *NodeBuilder: Unifies uniform groups of different shader stages NodeBuilders: Unifies uniform groups of different shader stages Dec 12, 2025
@github-actions
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 355.12
84.44
355.12
84.44
+0 B
+0 B
WebGPU 616.5
171.1
616.87
171.21
+364 B
+101 B
WebGPU Nodes 615.11
170.84
615.47
170.95
+364 B
+106 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 487.45
119.37
487.45
119.37
+0 B
+0 B
WebGPU 687.41
186.69
687.78
186.8
+364 B
+103 B
WebGPU Nodes 637.26
173.91
637.62
174.01
+364 B
+98 B

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