Skip to content

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Nov 25, 2024

Related issue: Closes #29851

Description

Returns the texture automatically if the input is a pass().

@sunag sunag added this to the r171 milestone Nov 25, 2024
@sunag sunag marked this pull request as ready for review November 25, 2024 03:14
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 339.14
78.99
339.14
78.99
+0 B
+0 B
WebGPU 483.12
134.14
483.15
134.15
+32 B
+11 B
WebGPU Nodes 482.58
134.04
482.62
134.06
+32 B
+11 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 464.59
111.96
464.59
111.96
+0 B
+0 B
WebGPU 552.25
149.49
552.25
149.49
+0 B
+0 B
WebGPU Nodes 508.13
139.2
508.13
139.2
+0 B
+0 B

@sunag sunag merged commit 54ce779 into mrdoob:dev Nov 25, 2024
12 checks passed
@sunag sunag deleted the dev-improve-convertToTexture branch November 25, 2024 03:24
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.

WebGPURenderer: incorrect texture dimensions in shaders
1 participant