Skip to content

TSL Transpiler varying : /* unknown statement */; #29968

@Makio64

Description

@Makio64

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions