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

Add size and position as parameters to the PMREMGenerator #8

Closed
wants to merge 18 commits into from

Conversation

Spiri0
Copy link
Owner

@Spiri0 Spiri0 commented Jan 16, 2025

testmerge PMREMGenerator-Extension

Copy link

github-actions bot commented Jan 16, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 339.53
79.09
339.66
79.13
+131 B
+34 B
WebGPU 491.24
136.56
491.15
136.48
-93 B
-83 B
WebGPU Nodes 490.71
136.45
490.62
136.37
-93 B
-82 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 465.39
112.16
465.52
112.19
+132 B
+33 B
WebGPU 561.79
152.25
561.69
152.19
-92 B
-63 B
WebGPU Nodes 517.17
141.83
517.08
141.75
-92 B
-72 B

@Spiri0 Spiri0 closed this Feb 8, 2025
@Spiri0 Spiri0 deleted the PMREM-Generator-Extension branch February 8, 2025 07:31
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