Mapping texel to pixels
Hi all,
I've read about the mapping texels to pixels document, and I have a question.
Im rendering a screen quad ( -1 <= (X,Y) <= 1 ), z = 0 to a 2 by 2 render target. I set the texture coord to (0,0)->(1,1) depending on the x/y value.
When i try to debug inside the pixel shader, the tex coord values somehow gets interpolated, and I do not get the actual required tex coords.
Does any1 know when we specify ( -1 <= (X,Y) <= 1 ), actually that rectangle in screen coordinate covers from where to where? ( i think it covers slightly more than the render target i specified.. )
Thanks in advance
~Exoskeleton
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement