-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Labels
Description
There is a design choice here on whether to use Elm Arrays or Elm Lists to do this, but, the essence is that you'd want the following to be possible:
uniform vec3 myVectorArray[MY_VECTOR_ARRAY_LENGTH];In GLSL, uniform arrays must be of fixed size and that size must be declared at compile-time and therefore the length of the array must be computed at run-time in order to compile the program. This could trigger dynamic recompilation of the shader if the Array were to change size.
Reactions are currently unavailable