Real-Time Volumetric Shadows using 1D Min-Max Mipmaps

1MIT CSAIL 2Disney Research Zürich

In Proceedings of ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games, 2011
i3D 2011 Best Presentation Award!

To compute single scattering in scenes with occluders (left) we compute a depth image from the camera, and a shadow map from the light. After epipolar rectification, each row of the shadow map is a 1D heightfield. We optimize the computation of the scattering integral by using an efficient data structure (a 1D min-max mipmap, center) over this heightfield. This data structure helps compute the scattering integral for all camera rays in parallel. Our method can render complex high-quality scenes with textured lights (right) in real-time (55 FPS).


Light scattering in a participating medium is responsible for several important effects we see in the natural world. In the presence of occluders, computing single scattering requires integrating the illumination scattered towards the eye along the camera ray, modulated by the visibility towards the light at each point. Unfortunately, incorporating volumetric shadows into this integral, while maintaining real-time performance, remains challenging.

In this paper we present a new real-time algorithm for computing volumetric shadows in single-scattering media on the GPU. This computation requires evaluating the scattering integral over the intersections of camera rays with the shadow map, expressed as a 2D height field. We observe that by applying epipolar rectification to the shadow map, each camera ray only travels through a single row of the shadow map (an epipolar slice), which allows us to find the visible segments by considering only 1D height fields. At the core of our algorithm is the use of an acceleration structure (a 1D min-max mipmap) which allows us to quickly find the lit segments for all pixels in an epipolar slice in parallel. The simplicity of this data structure and its traversal allows for efficient implementation using only pixel shaders on the GPU.


Supplemental Video

Text Reference

Jiawen Chen, Ilya Baran, Frédo Durand, Wojciech Jarosz. Real-Time Volumetric Shadows using 1D Min-Max Mipmaps. Proceedings of ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games, 2011.

BibTex Reference

    author = "Chen, Jiawen and Baran, Ilya and Durand, Frédo and Jarosz, Wojciech",
    title = "Real-Time Volumetric Shadows using 1D Min-Max Mipmaps",
    booktitle = "Proceedings of ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games",
    series = "I3D 2011",
    year = "2011",
    publisher = "ACM",
    address = "New York, NY, USA",
    doi = "10.1145/1944745.1944752"

Copyright Disclaimer

© The Author(s) / ACM. This is the author's version of the work. It is posted here for your personal use. Not for redistribution. The definitive Version of Record is available at