I'm quite new to OpenGL ES but I'm trying to render multiple 2D images on the screen at once (uniform sampler2D
and texImage2D
, ...) however when I try to render more than 16 textures at once I get:
The number of fragment samplers (21) is greater than the maximum number allowed (16).
which I've learned from here and by looking at this there's a hard limit to the number of textures I can bind at once. However, for my particular application, I need to render about ~30 images at once. Is there any workaround and is there any particular way I can render that many images?
Edit: Combining several images into one big image doesn't work very well in my case.