Negative Texture Coords

Started by
1 comment, last by Gammastrahler 22 years, 3 months ago
i must negate texture coords when i call glFrontFace(GL_CW), otherwise the textures will be displayed mirrored. is there something wrong?
Advertisement
No. Depends on your vertex and texcoord reference frame and order. Negating them means that you are adjusting the coordinate frame of the texcoords, there''s no problem with that.
Oh, and if you don''t want to do it by hand, you could also upload a mirroring texture matrix, so the 3D card will adjust this for you.

This topic is closed to new replies.

Advertisement