Open azul3d-bot opened 8 years ago
Issue by slimsag Saturday Jan 17, 2015 at 09:50 GMT Originally opened as https://github.com/azul3d/gfx/issues/94
From a long time ago, we have GLSL code that is written like so:
uniform sampler2D Texture0;
In fact, this was done on the premise that some OpenGL version might not support arrays. This isn't true.
This works today:
uniform sampler2D Textures[3];
We should remove the old style in v2.
Issue by slimsag Saturday Jan 17, 2015 at 09:50 GMT Originally opened as https://github.com/azul3d/gfx/issues/94
From a long time ago, we have GLSL code that is written like so:
In fact, this was done on the premise that some OpenGL version might not support arrays. This isn't true.
This works today:
We should remove the old style in v2.