opengl-eswebgltexture-mapping

GL_TEXTURE_2D_ARRAY in OpenGL ES/WebGL?


I have an application in mind that would greatly benefit from the use of array textures. However, I have not been able to determine whether array textures are available in the current WebGL specification and/or in OpenGL ES 2.0, on which WebGL is based.

Can anyone shed some light on the matter?


Solution

  • Since the answer is pretty old now, and the page keeps getting high rank in search engines, better says here that array textures are now avaliable with the webgl2 context (OpenGL ES 3.0).

    You might want to check browser compatibility https://caniuse.com/#feat=webgl2