- glColorMask(FALSE,FALSE,FALSE,FALSE);
- glenable(GL_DEPTH_TEST);
- glDepthFunc(GL_LEQUAL);
- glenable(GL_CULL_FACE);
- glCullFace(GL_BACK);
- glFrontFace(GL_CCW);
- ...
- AllesZeichnen(ZPass);
- glColorMask(TRUE,TRUE,TRUE,TRUE);
- glDepthFunc(GL_EQUAL);
- ...
- AllesZeichnen(NormalerPass);