I am loading a .obj model with assimp.
Simple models work fine, but as soon as I make something like a taurus, I get some back faces appearing.
The part where I turn depth testing on is:
glEnable(GL_CULL_FACE); glCullFace(GL_BACK); glFrontFace(GL_CCW); glEnable(GL_DEPTH_TEST); glDepthFunc(GL_LEQUAL);
(I'm clearing both the colour and depth buffer)
Any guess about what I'm messing up?
(I'll post or link more code if needed later)
Edited by manasij7479, 17 March 2014 - 02:33 AM.