Recursive analytic spherical harmonics gradient for spherical lights - Archive ouverte HAL Access content directly
Journal Articles Computer Graphics Forum Year : 2022

Recursive analytic spherical harmonics gradient for spherical lights


When rendering images using Spherical Harmonics (SH), the projection of a spherical function on the SH basis remains a computational challenge both for high-frequency functions and for emission functions from complex light sources. Recent works investigate efficient SH projection of the light field coming from polygonal and spherical lights. To further reduce the rendering time, instead of computing the SH coefficients at each vertex of a mesh or at each fragment on an image, it has been shown, for polygonal area light, that computing both the SH coefficients and their spatial gradients on a grid covering the scene allows the efficient and accurate interpolation of these coefficients at each shaded point. In this paper, we develop analytical recursive formulae to compute the spatial gradients of SH coefficients for spherical light. This requires the efficient computation of the spatial gradients of the SH basis function that we also derive. Compared to existing method for polygonal light, our method is faster, requires less memory and scales better with respect to the SH band limit. We also show how to approximate polygonal lights using spherical lights to benefit from our derivations. To demonstrate the effectiveness of our proposal, we integrate our algorithm in a shading system able to render fully dynamic scenes with several hundreds of spherical lights in real time.
Fichier principal
Vignette du fichier
Recursive_analytic_spherical_harmonics_gradient_for_spherical_light.pdf (52.19 Mo) Télécharger le fichier (157.46 Mo) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03622389 , version 1 (28-03-2022)



Pierre Mézières, Nicolas Mellado, Loic Barthe, Mathias Paulin. Recursive analytic spherical harmonics gradient for spherical lights. Computer Graphics Forum, 2022, 41 (2), pp.1-14. ⟨10.1111/cgf.14482⟩. ⟨hal-03622389⟩
329 View
75 Download



Gmail Facebook X LinkedIn More