Framebuffer + depth buffer

Published May 15, 2010
Advertisement
So, I finally solved a major bug today! I didn't do any depth testing for my scene! :P Turns out, you'll have to provide an FBO with a depth buffer in order for it to do depth testing, for some reason this didn't strike me as obvious, even though it is! :P Thanks Stefan for pointing this out!

As a result, I could finally add back in water. Though it doesn't look much, it's definately a step forward for me :)

0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement