,

## 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.

## Downloads and Links

- Paper (405 KB)
- Demo and Source (4554 KB) (May require VC8 Runtime Files)
- FX Composer Example (17 KB)
- GDC 2006 Slides

## Copyright Notice

© ACM, 2006. This is the author's version of the work. It is posted here by permission of ACM for your personal use.

The definitive version was published in the Proceedings of the 2006 Symposium On Interactive 3D Graphics and Games.

Not for redistribution.