GuybrushThreepwood
GuybrushThreepwood

Reputation: 5616

GLCullFace for front and back triangles ? iPhone OPENGL ES

Is there a way to use GLCullFace on an object which is made up of inconsistent facing triangles ? I.e some are facing backwards and some forwards ?

Thanks in advance.

Upvotes: 0

Views: 678

Answers (1)

Brett Hale
Brett Hale

Reputation: 22318

If your mesh is closed, you might get away with setting: glDisable(GL_CULL_FACE). I would recommend fixing the winding orders of the triangles however - it'll save a lot of trouble later.

Upvotes: 3

Related Questions