-
-
Notifications
You must be signed in to change notification settings - Fork 36k
Closed
Description
Description
Currently the TSL Transpiler don't seem to recognize varying
. Maybe it's because there isn't a vertex/fragment context?
varying vec2 vUV;
---transpile to----> /* unknown statement */;
Solution
take varying in account
Alternatives
Have the tsl transpilor editor split in 2 so we can add the main of the vertex and the main of the fragment and it can use the varying correctly in both.
Additional context
I was doing a quick test on this reference : https://github.com/pmndrs/meshline/blob/master/src/MeshLineMaterial.ts