-
-
Notifications
You must be signed in to change notification settings - Fork 36.2k
Open
Labels
Description
Description
Currently, there is no way to create an array of varyings, unlike uniforms (e.g., uniformArray).
Here is a demo in GLSL for those who are not familiar with using varyings as arrays.
Solution
I believe a method very similar to uniformArray, which could naturally be called varyingArray, would be ideal.
Alternatives
I couldn’t find any alternative for what I did in the plain GLSL demo above.
Additional context
No response