<<< Culling and Depth Testing | Index | Depth Testing >>> |
Simply means "Don't draw triangles that don't face the camera"
Face culling is initially disabled
Two steps to enable:
glEnable( GL_CULL_FACE ); glCullFace( GL_BACK );
glCullFace() can also specify:
GL_FRONT GL_FRONT_AND_BACK // no faces are drawn, but other // primitives such as points and lines are drawn.
<<< Culling and Depth Testing | Index | Depth Testing >>> |