Skip to content
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

WebGPURenderer: Add onBeforeShadow and onAfterShadow #30032

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

RenaudRohlinger
Copy link
Collaborator

Fixed: #30026

This contribution is funded by Utsubo

@RenaudRohlinger RenaudRohlinger added this to the r172 milestone Dec 4, 2024
Copy link

github-actions bot commented Dec 4, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 339.11
78.98
339.11
78.98
+0 B
+0 B
WebGPU 484.77
134.58
484.95
134.62
+179 B
+41 B
WebGPU Nodes 484.23
134.49
484.41
134.53
+179 B
+40 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 465
112.04
465
112.04
+0 B
+0 B
WebGPU 554.1
150
554.28
150.05
+179 B
+45 B
WebGPU Nodes 509.98
139.72
510.16
139.76
+179 B
+43 B

@sunag sunag merged commit ae90867 into mrdoob:dev Dec 4, 2024
12 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.

onBeforeShadow, onAfterShadow WebGPU are not implemented
2 participants