Pixel-Correct Shadow Maps with Temporal Reprojection and Shadow Test Confidence
Abstract
Shadow mapping suffers from spatial aliasing (visible as blocky shadows) as well as temporal aliasing (visible as flickering). Several methods have already been proposed for reducing such artifacts, but so far none is able to provide satisfying results in real time. This paper extends shadow mapping by reusing information of previously rasterized images, stored efficiently in a so-called history buffer. This buffer is updated in every frame and then used for the shadow calculation. In combination with a special confidence-based method for the history buffer update (based on the current shadow map), temporal and spatial aliasing can be completely removed. The algorithm converges in about 10 to 60 frames and during convergence, shadow borders are sharpened over time. Consequently, in case of real-time frame rates, the temporal shadow adaption is practically imperceptible. The method is simple to implement and is as fast as uniform shadow mapping, incurring only the minor speed hit of the history buffer update. It works together with advanced filtering methods like percentage closer filtering and more advanced shadow mapping techniques like perspective or light space perspective shadow maps.
BibTeX
@inproceedings {10.2312:EGWR:EGSR07:045-050,
booktitle = {Rendering Techniques},
editor = {Jan Kautz and Sumanta Pattanaik},
title = {{Pixel-Correct Shadow Maps with Temporal Reprojection and Shadow Test Confidence}},
author = {Scherzer, Daniel and Jeschke, Stefan and Wimmer, Michael},
year = {2007},
publisher = {The Eurographics Association},
ISSN = {1727-3463},
ISBN = {978-3-905673-52-4},
DOI = {10.2312/EGWR/EGSR07/045-050}
}
booktitle = {Rendering Techniques},
editor = {Jan Kautz and Sumanta Pattanaik},
title = {{Pixel-Correct Shadow Maps with Temporal Reprojection and Shadow Test Confidence}},
author = {Scherzer, Daniel and Jeschke, Stefan and Wimmer, Michael},
year = {2007},
publisher = {The Eurographics Association},
ISSN = {1727-3463},
ISBN = {978-3-905673-52-4},
DOI = {10.2312/EGWR/EGSR07/045-050}
}