Multi-pass Gaussian Contact-hardening Soft Shadows
Kevin Cherry, Robert Kooima
2015
Abstract
Real-time soft shadows have seen numerous improvements over the years. Post-process blurring of shadow edges are commonly used to hide aliasing artifacts, but in some cases, such as ours, it is used to mimic physical processes. Instead of generating penumbra regions uniformly, we scale key algorithmic components in screen space to allow the penumbra region to grow in accordance with occluder/receiver distance. This form of soft shadowing is known to some as contact-hardening and has been explored in various ways. We present an algorithm that explores three ways of achieving contact-hardening soft shadows. Two of those ways are similar in nature to previous works while the third is a novel approach that utilizes occluder distance as a counter for multiple Gaussian passes. Our main contributions are fast occluder approximation and the use of occluder distance to control the number of Gaussian passes. Multiple Gaussian passes create better results than a single Gaussian pass for several scenes, and we explore various ways of improving the performance of the multi-pass approach.
References
- Bavoil, L. (2011). Multi-view soft shadows. Technical report, NVIDIA, technical report, http://developer. nvidia. com.
- Crow, F. C. (1977). Shadow algorithms for computer graphics. In ACM SIGGRAPH Computer Graphics, volume 11, pages 242-248. ACM.
- Dimitrov, R. (2007). Cascaded shadow maps. Developer Documentation, NVIDIA Corp.
- Donnelly, W. and Lauritzen, A. (2006). Variance shadow maps. In Proceedings of the 2006 symposium on Interactive 3D graphics and games, pages 161-165. ACM.
- Fernando, R. (2005). Percentage-closer soft shadows. In ACM SIGGRAPH 2005 Sketches, page 35. ACM.
- Gumbau, J., Chover, M., and Sbert, M. (2010). Screen Space Soft Shadows.
- Klein, A., Nischwitz, A., and Obermeier, P. (2012). Contact hardening soft shadows using erosion.
- Lauritzen, A., Salvi, M., and Lefohn, A. (2011). Sample distribution shadow maps. In Symposium on Interactive 3D Graphics and Games, pages 97-102. ACM.
- Reeves, W. T., Salesin, D. H., and Cook, R. L. (1987). Rendering antialiased shadows with depth maps. In ACM SIGGRAPH Computer Graphics, volume 21, pages 283-291. ACM.
- Williams, L. (1978). Casting curved shadows on curved surfaces. In ACM Siggraph Computer Graphics, volume 12, pages 270-274. ACM.
- Wimmer, M., Scherzer, D., and Purgathofer, W. (2004). Light space perspective shadow maps. In Proceedings of the Fifteenth Eurographics conference on Rendering Techniques, pages 143-151. Eurographics Association.
- Wyman, C. and Hansen, C. D. (2003). Penumbra maps: Approximate soft shadows in real-time. In Rendering Techniques, pages 202-207.
Paper Citation
in Harvard Style
Cherry K. and Kooima R. (2015). Multi-pass Gaussian Contact-hardening Soft Shadows . In Proceedings of the 10th International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2015) ISBN 978-989-758-087-1, pages 274-280. DOI: 10.5220/0005315402740280
in Bibtex Style
@conference{grapp15,
author={Kevin Cherry and Robert Kooima},
title={Multi-pass Gaussian Contact-hardening Soft Shadows},
booktitle={Proceedings of the 10th International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2015)},
year={2015},
pages={274-280},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0005315402740280},
isbn={978-989-758-087-1},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 10th International Conference on Computer Graphics Theory and Applications - Volume 1: GRAPP, (VISIGRAPP 2015)
TI - Multi-pass Gaussian Contact-hardening Soft Shadows
SN - 978-989-758-087-1
AU - Cherry K.
AU - Kooima R.
PY - 2015
SP - 274
EP - 280
DO - 10.5220/0005315402740280