Skip to content

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Apr 22, 2025

Fixes #30973

Description

Fix alpha of vertex-color.

@sunag sunag added this to the r176 milestone Apr 22, 2025
@sunag sunag marked this pull request as ready for review April 22, 2025 07:25
Copy link

github-actions bot commented Apr 22, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 336.33
78.33
336.33
78.33
+0 B
+0 B
WebGPU 547.3
151.71
547.3
151.72
-7 B
+8 B
WebGPU Nodes 546.66
151.55
546.65
151.56
-7 B
+7 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 465.78
112.28
465.78
112.28
+0 B
+0 B
WebGPU 621.69
168.15
622.15
168.3
+462 B
+149 B
WebGPU Nodes 576.56
157.46
577.02
157.57
+462 B
+108 B

@sunag sunag merged commit d79728c into mrdoob:dev Apr 22, 2025
12 checks passed
@sunag sunag deleted the dev-fix-vertexcolor branch April 22, 2025 07:44
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
* fix vertex-color

* Update AttributeNode.js

* Update NodeMaterial.js
RuthySheffi pushed a commit to RuthySheffi/three.js that referenced this pull request Jun 5, 2025
* fix vertex-color

* Update AttributeNode.js

* Update NodeMaterial.js
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 - Alpha not supported in vertex colors
1 participant