GL_TEXTURE_2D has no "back", trying to flip character image
When I rotate my GL_TEXTURE_2D on the y or x axis so far that you can see the "back" of the texture, it dissapears. All I want to do is rotate the image 180 degrees on the x axis to flip the character so he faces the opposite direction.
I'm using a TGA with an alpha channel (no masking). How do I set up my GL_TEXTURE_2D to be able to be flipped 180 degrees so I don't have to flip all of my art in GIMP?
This behavior is called back face culling. You find all sorts of info out there, so I won't go into more detail here.
To disable it, simply call glDisable( GL_CULL_FACE );.
[Edited by - Promit on August 7, 2005 12:50:29 AM]
To disable it, simply call glDisable( GL_CULL_FACE );.
[Edited by - Promit on August 7, 2005 12:50:29 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement