i have a 2D array of texture. so its like an image with width and height, but each pixel is an image. and if i want to grab texture at index let say (3.5, 4.5), it will interpolate the texture at index (3, 3), (3, 4), (4, 3), (4, 4).
currently im trying to do this manually, but im curious is there any easy way to implement this in OpenGL+GLSL? is there some kind of way to keep texture2D in 2D array that interpolates automatically in OpenGL+GLSL? if yes, any hint/link/sample how to to that?
thanks in advance