Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Entries in this blog


Carmack at QCon and Shadow Buffers

Leave it to carmack to come up with an incredibly simple but powerfull techique for making shadow buffers more usable.

To fix precision problems that sometimes arrise when having only front or back faces cast shadows into a shadow buffer, he thought up the idea to create a shadow depth buffer for the front facing polys as well as one for the back facing polys. For every pixel find the mid-point between the front and back facing depth textures and then use that to compare against instead of only the front or the back.

Of course this has the obvious draw back of having to render everything twice to compute a single shadow depth buffer (something you may have to do multiple times per-light if the object creating the shadow resides in multiple sides of the cube map.)

Still a very powerfull technique though. I'll post some more later about some of the other things he talked about.




Sign in to follow this  
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!