glCullFace(GL_FRONT); // draw only the back faces of the shadow volume // here draw the shadow volume and cull the front faces glCullFace(GL_BACK); // draw only the front faces of the shadow volume // ...