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

NodeMaterial: Add support for alphaHash. #29757

Merged
merged 5 commits into from
Oct 29, 2024
Merged

NodeMaterial: Add support for alphaHash. #29757

merged 5 commits into from
Oct 29, 2024

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Oct 28, 2024

Related issue: -

Description

This make sure NodeMaterial supports Material.alphaHash.

The demo uses SSAA since there are stability issues with TRAA that I want to investigate separately.

Copy link

github-actions bot commented Oct 28, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 691.6
171.42
691.6
171.42
+0 B
+0 B
WebGPU 818.94
220.87
819.73
221.21
+781 B
+344 B
WebGPU Nodes 818.45
220.73
819.23
221.08
+781 B
+346 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 463.75
112.17
463.75
112.17
+0 B
+0 B
WebGPU 539.8
145.81
540.58
146.11
+781 B
+304 B
WebGPU Nodes 495.8
135.63
496.58
135.91
+781 B
+283 B

@Mugen87 Mugen87 added this to the r170 milestone Oct 28, 2024
@Mugen87 Mugen87 merged commit ff6450a into mrdoob:dev Oct 29, 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.

1 participant