We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Math Node 'MOD' produces error in WebGPU when input node is not a float, but works fine in WebGL
1 error(s) generated while compiling the shader: :112:30 error: type mismatch for argument 1 in call to 'threejs_mod', expected 'f32', got 'vec4<f32>' DiffuseColor = threejs_mod( nodeVar2, NodeUniforms.nodeUniform2 ); ^^^^^^^^
Working WebGL with nodes: https://codesandbox.io/p/sandbox/three-js-webgpu-directional-light-forked-48y9yt?file=%2Fsrc%2Findex.mjs%3A40%2C17
The above will break using WebGPU renderer.
No response
r160
Desktop
Chrome
MacOS
The text was updated successfully, but these errors were encountered:
mod
Successfully merging a pull request may close this issue.
Description
Math Node 'MOD' produces error in WebGPU when input node is not a float, but works fine in WebGL
Reproduction steps
Code
Live example
Working WebGL with nodes: https://codesandbox.io/p/sandbox/three-js-webgpu-directional-light-forked-48y9yt?file=%2Fsrc%2Findex.mjs%3A40%2C17
The above will break using WebGPU renderer.
Screenshots
No response
Version
r160
Device
Desktop
Browser
Chrome
OS
MacOS
The text was updated successfully, but these errors were encountered: