PDA

View Full Version : [ES 2.0] Imitating texture arrays



elfeck
11-25-2013, 10:07 AM
Hello,

I'm working with OpenGL ES 2.0 which does not support 2D texture arrays. For my image processing project I need to have access to more than jsut one 1024x1024 texture per shader pass.

Is there a simple way of doing this with ES 2.0?
My idea was to abuse Cubemaps for that purpose and just use the 6 faces as a texture array?

Thanks so far,
Elfeck

mhagain
11-25-2013, 10:40 AM
Cubemaps would work, but you can just use standard multitexture via glActiveTexture too.

elfeck
11-25-2013, 10:49 AM
I'm quite new to textureing could be elaborate a bit or link me a tutorial?

Thanks!