Hi,
I have a texture with the size 1024x1024. I’m trying to get a part of it on the screen with the exact size.
The part has the coordiantes (0,0)x(256,256).
So the texture coordinates are supossed to be:
(0.5/1024,0.5/1024)x(255.5/1024,255.5/1024)
The screen coordinates are:
(0.5,0.5)x(255.5,255.5)
The problem is that the last vertical and horizontal line of the texture is missing on the screen.
I tried it all day long and I’m really stuck…
Thanks,
Thomas