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
while trying to avoid the array issues #30858 i hit another bug in the transpiler not supporting the struct :
struct Edges { vec2 a vec2 b vec2 c vec2 d } Edges marching_square(vec2 uv, float level) { Edges e e.a = vec2(-50.) e.b = vec2(-50.) e.c = vec2(-50.) e.d = vec2(-50.) return e }
transpile to
// Three.js Transpiler r175 import { float } from 'three/tsl'; float( - 50. );
Test it in : https://threejs.org/examples/webgpu_tsl_transpiler.html
X
https://threejs.org/examples/webgpu_tsl_transpiler.html
No response
r176dev
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
while trying to avoid the array issues #30858 i hit another bug in the transpiler not supporting the struct :
transpile to
Reproduction steps
Test it in : https://threejs.org/examples/webgpu_tsl_transpiler.html
Code
X
Live example
https://threejs.org/examples/webgpu_tsl_transpiler.html
Screenshots
No response
Version
r176dev
Device
No response
Browser
No response
OS
No response
The text was updated successfully, but these errors were encountered: