Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualHodgman

Posted 22 January 2013 - 06:01 PM

After projection, the "screen coordinates" are known as normalized device coordinates (or NDC). NDC's x/y axis have a range from -1 to +1, not 0 to width/height.

 

For your texcoord, you probably want to use pdi.saved.xy*0.5+0.5.


#1Hodgman

Posted 22 January 2013 - 06:00 PM

After projection, the "screen coordinates" are known as normalized device coordinates (or NDC). NDC's x/y axis have a range from -1 to +1, not 0 to width/height


PARTNERS