Is there any way to get the texture coordinates, that are created by opengl rendering pipeline ?
I have a texture of width 100, and height 100.
When I rendering a small region of this texture[In x direction 0 to 20 and in Y direction 0 to 20] to a big area[100100], opengl will calculate the texture coordinates
for each pixels[100100= 1000 pixels].
I want to know the coordinates for each of these pixels.
One option is to use a pixel shader,and output the texture coordinate, and that’s working.
But I want to know the texture coordinate without a rendering.
IS there any equation for getting the texture coordinates for each pixels of rendering ?