Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


#ActualSlamDrag

Posted 31 March 2013 - 05:47 PM

i believe depth testing has to be enabled, both during initialization (8, 16, 24 or 32 bits for depth channel)
and while drawing: glEnable(GL_DEPTH_TEST);

Derp. It ended up I forgot to enable depth testing in the first place. Lawl.

 

Thank you all for putting up with my incompetence.


#1SlamDrag

Posted 31 March 2013 - 05:47 PM

i believe depth testing has to be enabled, both during initialization (8, 16, 24 or 32 bits for depth channel)
and while drawing: glEnable(GL_DEPTH_TEST);

Derp. It ended up I forgot to enable depth testing in the first place. Lawl.


PARTNERS