Efficient Spherical Harmonics Lighting with the Preetham Skylight Model
Abstract
We present a fast and compact representation of a skylight model for spherical harmonics lighting, especially for outdoor scenes. This representation allows dynamically changing the sun position and weather conditions on a per frame basis. We chose the most used model in real-time graphics, the Preetham skylight model, because it can deliver both realistic colors and dynamic range and its extension into spherical harmonics can be used to realistically light a scene. We separate the parameters of the Preetham skylight model s spherical harmonics extension and perform a polynomial two-dimensional non-linear least squares fit for the principal parameters to achieve both negligible memory and computation costs. Additionally, we execute a domain specific Gibbs phenomena suppression to remove ringing artifacts.
BibTeX
@inproceedings {10.2312:egs.20081036,
booktitle = {Eurographics 2008 - Short Papers},
editor = {Katerina Mania and Eric Reinhard},
title = {{Efficient Spherical Harmonics Lighting with the Preetham Skylight Model}},
author = {Habel, Ralf and Mustata, Bogdan and Wimmer, Michael},
year = {2008},
publisher = {The Eurographics Association},
DOI = {10.2312/egs.20081036}
}
booktitle = {Eurographics 2008 - Short Papers},
editor = {Katerina Mania and Eric Reinhard},
title = {{Efficient Spherical Harmonics Lighting with the Preetham Skylight Model}},
author = {Habel, Ralf and Mustata, Bogdan and Wimmer, Michael},
year = {2008},
publisher = {The Eurographics Association},
DOI = {10.2312/egs.20081036}
}