Hello. Recently I started learning GLSL and I just can’t figure out how to create 2d Texture Array.
For example, I need to rotate one texture 4 times 90 degrees and put everything in one array.
I know how to do it through the Transform TOP, but it would be much more efficient to do everything with code at once. GLSL_2d_array.tox (1.37 KB)
Wonderful, I was fiddling around to get texture instancing to work with my “Pre-Kepler Graphics Card” and didn’t mange to do so.
With this technique it worked !