iphone - OpenGL Back Face Texture -


i got game tile on witch want simulate flip animation.

so i'm using glrotatef(angle, 0, 1, 0) on tile simulate flip animation starting 180 deg angle, in way tile start backflipped , show me backface. fine problem when tile start backflipped don't want see flipped texture.

the result see black color (provided vertex color) or different texture face , game texture front face. more build sort of game card.

anyone can suggest me way solve problem?

enable backface culling (glenable(gl_cull_face)), draw 2 quads back-to-back each it's own texture.


Comments