GL_TEXTURE_2D has no "back", trying to flip character image

Started by
1 comment, last by ScottNCSU 18 years, 8 months ago
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?
Advertisement
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]
SlimDX | Ventspace Blog | Twitter | Diverse teams make better games. I am currently hiring capable C++ engine developers in Baltimore, MD.
Many thanks, my character now faces the opposite direction.

This topic is closed to new replies.

Advertisement