Which is the best way to draw a texture in the screen without any kind of distortion?
That is with it's real size and with no filtering.
I ask because i'm experiencing weird problems and i have no idea about how to solve them. I suppose they come because i use floats to set the size and position of the squares in the shader, but.... anyway, texture coordinates for tex2D are floats too, so that shouldn't be a problem, should it?
Of course, filtering is off everywhere, and i guess the textures are loaded correctly.
I would apreciate any idea even if it's looks simple or obvious cause maybe it helps me in some way.
Thanks.