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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!