GLSL uniform array names?
My understanding of GLSL uniform arrays is that they should be identifiable by both the name along, and the name along with the array index in brackets. For example, if I had this uniform array in my shader:
Then according to the spec, my program should be able to set the array, or parts of the array, with any of the following uniform names:
uniform float lightrange;
I ask because it appears iOS would only recognize "lighttange" while Samsung's stuff only recognizes "lightrange".