Ortho texture issue,
Members - Reputation: 107
Posted 10 September 2012 - 02:28 PM
I am trying to render a textured quad in ortho mode. When I render it as a rectangle, it works fine, as this picture shows:
However, when I try to move one corner half way to the center, the texture gets weirdly skeeved:
Notice the red line going up. I would think that it should be sloped towards the upper right corner, but it's rendered straight up. Is this normal?
There is only one textured quad in this picture, rendered using fixed function pipeline. The texture coords are all either 0 or 1 in the corners. Why is the texture rendered like this?
Thanks in advance.
Moderators - Reputation: 10005
Posted 10 September 2012 - 02:57 PM
Read this: clicky.