You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: