Skip to content

WebGPURenderer: Apply color management changes from #26644. #31142

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 1 commit into from
May 21, 2025

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented May 21, 2025

Related issue: #26644

Description

The PR applies missing updates from #26644 to WebGPURenderer.

ColorSpaceNode was already updated to the new ColorManagement API.

Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 337.26
78.64
337.26
78.64
+0 B
+0 B
WebGPU 550.3
152.56
550.56
152.65
+260 B
+97 B
WebGPU Nodes 549.65
152.4
549.91
152.5
+260 B
+98 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 468.12
113.14
468.12
113.14
+0 B
+0 B
WebGPU 625.57
169.32
625.81
169.41
+242 B
+94 B
WebGPU Nodes 580.42
158.63
580.66
158.73
+242 B
+95 B

@Mugen87 Mugen87 added this to the r177 milestone May 21, 2025
@Mugen87 Mugen87 merged commit d1e71ae into mrdoob:dev May 21, 2025
12 checks passed
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
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