Tried to use WebGPU but got Error: NodeMaterial: Material "MeshStandardMaterial" is not compatible #3043
Unanswered
nixonandhika
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello 👋 ,
I'm quite new to three and react-three-fiber and I'm trying to use WebGPU to render a GLTF Model that's loaded as a JSX Component. The model is rendered as expected when using WebGL as the renderer. However, when I switch to WebGPU I got the Material is not compatible error.
The way I use the WebGPU is through the
gl
prop like belowand the Model is a JSX Component that I got from converting it from .gltf file using
gltfjsx
.Looking through three.js code, it seems that the expected material is only NodeMaterial but the material from the model I used is MeshStandardMaterial. Is there an option to generate WGSL when loading the model or is it just currently not supported?
Any help is greatly appreciated. Thanks! 🙏
Beta Was this translation helpful? Give feedback.
All reactions