Shadow volumes

From DmWiki

  • Sort by z before rendering as you do for transparencies.
  • Shadow borders triangles toggle bit in stencil buffer.
  • Darken Geometry drawn on pixels while stencil buffer on.

This will be an article detailing how to use the stencil buffer shadow volumes algorithm.

See also

  • Robust Shadow Volumes (http://developer.nvidia.com/object/robust_shadow_volumes.html) interesting paper covering this shadow algorithm
  • Fast Shadow Volumes (http://developer.nvidia.com/object/fast_shadow_volumes.html) nVidia paper covering several optimizations to the algorithm

This article is a stub. You can help improve the article by expanding it.


DevMaster navigation