How to draw via GLSL Sampler only part of Texture2D Atlas stored inside Texture Array? For example i have Texture atlas, and i will put them together (with other atlases of same size) inside Texture2D Array. (glTexSubImage3D)
Well, how my sampler should looks like in that case?
https://www.opengl.org/wiki/Array_Texture
https://www.opengl.org/wiki/Sampler_(GLSL)
I've found only examples, how select & apply whole texture from Array, but nothing related if inside our Array we store Texture Atlas.