Variance shadow maps

  • Authors:
  • William Donnelly;Andrew Lauritzen

  • Affiliations:
  • University of Waterloo;University of Waterloo

  • Venue:
  • I3D '06 Proceedings of the 2006 symposium on Interactive 3D graphics and games
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Shadow maps are a widely used shadowing technique in real time graphics. One major drawback of their use is that they cannot be filtered in the same way as color textures, typically leading to severe aliasing. This paper introduces variance shadow maps, a new real time shadowing algorithm. Instead of storing a single depth value, we store the mean and mean squared of a distribution of depths, from which we can efficiently compute the variance over any filter region. Using the variance, we derive an upper bound on the fraction of a shaded fragment that is occluded. We show that this bound often provides a good approximation to the true occlusion, and can be used as an approximate value for rendering. Our algorithm is simple to implement on current graphics processors and solves the problem of shadow map aliasing with minimal additional storage and computation.