50
Views
0
CrossRef citations to date
0
Altmetric
Original Articles

Normal Mapping with Low-Frequency Precomputed Visibility

&
Pages 71-84 | Received 13 Sep 2010, Accepted 29 Sep 2011, Published online: 04 Jun 2012
 

Abstract

Normal mapping is a common technique used in video games, decoupling surface details stored at high spatial frequencies, which are often tiled or repeated, from lighting information that is both unique and stored at a lower sampling rate. This paper presents two techniques that couple normal maps on static geometry with soft shadows from smooth distant lighting in a more efficient manner compared with previous work. In the first technique, the visibility function is represented using low-order spherical harmonics, and the product of the Lambertian-clamped cosine function and the lighting environment is tabulated in textures. The second technique uses principal component analysis to compress the visibility function, decreasing the data size and increasing the performance. Finally, we also examine the efficiency of four common parameterizations for spherical harmonics.

Acknowledgments

Thanks to Paul Debevec and Brian James for the lightprobes used to light the models, Stephen Hill and Derek Nowrouzezahrai for comments. The house model is courtesy of Michal Buczkowski and Tomasz Polit, CD Projekt RED.

Notes

1One large texture could be used if an atlas is built, but that would generate spurious dependent texture operations.

2The Lambertian clamped cosine lobe is simple enough to be generated analytically in the shader, where this convolution boils down to a dot product in SH

3The DX9 cube maps do not have this property, do not work well for low resolution textures, and are used only for comparison purposes.

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.