Hi! I’m trying to pass 45 texture to my shader but i received this error when in fragment shader i try to use texture after the index 15:
vec3 color = texture( frames[16], st ).xyz;
And that’s the error:
ERROR: Implementation limit of 16 active fragment shader samplers (e.g., maximum number of supported image units) exceeded, fragment shader uses 18 samplers
There is some way to change this limit?