Skip to content

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented May 30, 2025

Closes #31089.

Description

The PR adopts the changes of #31089 but without a separate example. The additions to readRenderTargetPixels*() are so minor that I don't think we need a separate or updated example (especially since we need would custom shaders for MRT output).

Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 337.26
78.64
337.4
78.67
+136 B
+32 B
WebGPU 553.64
153.44
553.64
153.44
+0 B
+0 B
WebGPU Nodes 552.99
153.28
552.99
153.28
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 468.45
113.29
468.59
113.33
+136 B
+35 B
WebGPU 628.61
170.14
628.61
170.14
+0 B
+0 B
WebGPU Nodes 583.46
159.48
583.46
159.48
+0 B
+0 B

@Mugen87 Mugen87 merged commit 5988c7a into mrdoob:dev May 30, 2025
12 checks passed
@Mugen87 Mugen87 added this to the r177 milestone May 30, 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