Skip to content

Conversation

@andreasrosdal
Copy link
Contributor

@andreasrosdal andreasrosdal commented Nov 18, 2023

NodeMaterial: Use type 'vec3' when getting color attribute, fixing crash in WebGPU:

Error: no matching constructor for vec4.

Related issue: Fixes #27208
Related issue: danrossi/three-webgpu-renderer#7

Solution found by @LeviPesin

*This contribution is funded by me. :)

image

This is part of updating https://Fciv.net ( https://github.com/fciv-net/fciv-net ) to the new WebGPU renderer using https://github.com/danrossi/three-webgpu-renderer/

@sunag sunag added this to the r159 milestone Nov 18, 2023
@sunag sunag merged commit 4c5c68f into mrdoob:dev Nov 18, 2023
@sunag
Copy link
Collaborator

sunag commented Nov 18, 2023

I noticed that we didn't implement vertex alpha, but we can see that in another PR.

AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
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.

Crash in WebGPU: Error: no matching constructor for vec4

2 participants