Analytic spherical harmonic gradients for real-time rendering with many polygonal area lights
Lifan Wu, Guangyan Cai, Shuang Zhao, Ravi Ramamoorthi
Abstract
Recent work has developed analytic formulae for spherical harmonic (SH) coefficients from uniform polygonal lights, enabling near-field area lights to be included in Precomputed Radiance Transfer (PRT) systems, and in offline rendering. However, the method is inefficient since coefficients need to be recomputed at each vertex or shading point, for each light, even though the SH coefficients vary smoothly in space. The complexity scales linearly with the number of lights, making many-light rendering difficult. In this paper, we develop a novel analytic formula for the spatial gradients of the spherical harmonic coefficients for uniform polygonal area lights. The result is a significant generalization, involving the Reynolds transport theorem to reduce the problem to a boundary integral for which we derive a new analytic formula, showing how to reduce a key term to an earlier recurrence for SH coefficients. The implementation requires only minor additions to existing code for SH coefficients. The results also hold implications for recent efforts on differentiable rendering. We show that SH gradients enable very sparse spatial sampling, followed by accurate Hermite interpolation. This enables scaling PRT to hundreds of area lights with minimal overhead and real-time frame rates. Moreover, the SH gradient formula is a new mathematical result that potentially enables many other graphics applications.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers5
- FastNeRF: High-Fidelity Neural Rendering at 200FPSStephan J. Garbin, Marek Kowalski, Matthew Johnson, Jamie Shotton et al.ICCV 2021 · 778 citations
- Systematically differentiating parametric discontinuitiesSai Praveen Bangaru, Jesse Michel, Kevin Mu, Gilbert Bernstein et al.SIGGRAPH 2021 · 30 citations
- Spin-Weighted Spherical Harmonics for Polarized Light TransportShinyoung Yi, Donggun Kim, Jiwoong Na, Xin Tong et al.SIGGRAPH 2024 · 5 citations
- Generalized Spherical Harmonics Products using Spherical GridsDi An, Jiaqi Wu, Bowen Xu, Lingqi Yan et al.SIGGRAPH 2026
- 8DNA: 8D Neural Asset Light Transport by Distribution LearningLiwen Wu, Haolin Lu, Bing Xu, Milos Hasan et al.SIGGRAPH 2026
Related papers
- Spherical Lighting with Spherical Harmonics HessianKei Iwasaki, Yoshinori DobashiSIGGRAPH 2025
- BRDF importance sampling for polygonal lightsChristoph PetersSIGGRAPH 2021 · 14 citations
- PRTGS: Precomputed Radiance Transfer of Gaussian Splats for Real-Time High-Quality RelightingYijia Guo, Yuanxi Bai, Liwen Hu, Ziyi Guo et al.ACM MM 2024 · 9 citations
- Path-space differentiable renderingCheng Zhang, Bailey Miller, Kai Yan, Ioannis Gkioulekas et al.SIGGRAPH 2020 · 155 citations
- Efficient and Differentiable Shadow Computation for Inverse ProblemsLinjie Lyu, Marc Habermann, Lingjie Liu, Mallikarjun B. R. et al.ICCV 2021 · 16 citations
