PDA

View Full Version : see the back of glut solid cube



true_atlantis
10-17-2005, 02:42 PM
when creating a bunch of cubes right next to each other i have noticed that you can see the backs of the cubes meaning they are 'hollow like'... how do i make this not happen?

memfr0b
10-18-2005, 12:00 AM
You probably forgot to enable depth testing.


glEnable(GL_DEPTH_TEST);