Abstract
Linearly Transformed Cosines (LTCs) are a family of distributions that are used for real-time area-light shading thanks to their analytic integration properties. Modern game engines use an LTC approximation of the ubiquitous GGX model, but currently this approximation only exists for isotropic GGX and thus anisotropic GGX is not supported. While the higher dimensionality presents a challenge in itself, we show that several additional problems arise when fitting, post-processing, storing, and interpolating LTCs in the anisotropic case. Each of these operations must be done carefully to avoid rendering artifacts. We find robust solutions for each operation by introducing and exploiting invariance properties of LTCs. As a result, we obtain a small 84 look-up table that provides a plausible and artifact-free LTC approximation to anisotropic GGX and brings it to real-time area-light shading.
Supplemental Material
Available for Download
Supplemental movie, appendix, image and software files for, Bringing Linearly Transformed Cosines to Anisotropic GGX
- James Arvo. 1995. Applications of Irradiance Tensors to the Simulation of Non-Lambertian Phenomena. In Proc. ACM SIGGRAPH. 335--342.Google Scholar
Digital Library
- D. R. Baum, H. E. Rushmeier, and J. M. Winget. 1989. Improving Radiosity Solutions Through the Use of Analytically Determined Form-factors. Computer Graphics (Proc. SIGGRAPH) 23, 3 (1989), 325--334.Google Scholar
Digital Library
- Anis Benyoub. 2019. Leveraging Ray Tracing Hardware Acceleration In Unity. In ACM SIGGRAPH Courses 2019.Google Scholar
- Benedikt Bitterli, Chris Wyman, Matt Pharr, Peter Shirley, Aaron Lefohn, and Wojciech Jarosz. 2020. Spatiotemporal reservoir resampling for real-time ray tracing with dynamic direct lighting. ACM Trans. Graph. 39, 4 (2020).Google Scholar
Digital Library
- Nicolas Bonneel, Julien Rabin, Gabriel Peyré, and Hanspeter Pfister. 2015. Sliced and Radon Wasserstein Barycenters of Measures. J. Math. Imaging Vis. 51, 1 (2015), 22--45.Google Scholar
Digital Library
- Stavros Diolatzis, Adrien Gruson, Wenzel Jakob, Derek Nowrouzezahrai, and George Drettakis. 2020. Practical Product Path Guiding Using Linearly Transformed Cosines. Computer Graphics Forum (2020).Google Scholar
- MichałDrobot. 2014. Physically based area lights. In GPU Pro 5. 67--100.Google Scholar
- Jonathan Dupuy and Wenzel Jakob. 2018. An Adaptive Parameterization for Efficient Material Acquisition and Rendering. Transactions on Graphics (Proceedings of SIGGRAPH Asia) 37, 6 (2018), 274:1-274:18.Google Scholar
- Eric Heitz. 2014. Understanding the Masking-Shadowing Function in Microfacet-Based BRDFs. Journal of Computer Graphics Techniques (JCGT) 3, 2 (2014), 48--107.Google Scholar
- Eric Heitz. 2018. Sampling the GGX Distribution of Visible Normals. Journal of Computer Graphics Techniques (JCGT) 7, 4 (2018), 1--13.Google Scholar
- Eric Heitz, Jonathan Dupuy, Stephen Hill, and David Neubelt. 2016. Real-Time Polygonal-Light Shading with Linearly Transformed Cosines. ACM Trans. Graph. 35, 4, Article 41 (2016).Google Scholar
Digital Library
- Eric Heitz and Stephen Hill. 2017a. Linear-Light Shading with Linearly Transformed Cosines. In GPU Zen.Google Scholar
- Eric Heitz and Stephen Hill. 2017b. Real-Time Line- and Disk-Light Shading with Linearly Transformed Cosines. In ACM SIGGRAPH Courses 2017.Google Scholar
- Eric Heitz, Stephen Hill, and Morgan McGuire. 2018. Combining Analytic Direct Illumination and Stochastic Shadows. In Proceedings of the ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games. Article 2.Google Scholar
Digital Library
- Stephen Hill and Eric Heitz. 2016. Real-Time Area Lighting: a Journey from Research to Production. In ACM SIGGRAPH Courses 2016.Google Scholar
- Stephen Hill, Stephen McAuley, Laurent Belcour, Will Earl, Niklas Harrysson, Sébastien Hillaire, Naty Hoffman, Lee Kerley, Jasmin Patry, Rob Pieké, Igor Skliar, Jonathan Stone, Pascal Barla, Mégane Bati, and Iliyan Georgiev. 2020. Physically Based Shading in Theory and Practice. In ACM SIGGRAPH 2020 Courses. Article 11, 12 pages.Google Scholar
- Soheil Kolouri, Gustavo K. Rohde, and Heiko Hoffmann. 2018. Sliced Wasserstein Distance for Learning Gaussian Mixture Models. In Conference on Computer Vision and Pattern Recognition, CVPR 2018.Google Scholar
- Aakash Kt, Parikshit Sakurikar, and P. J. Narayanan. 2021. Fast Analytic Soft Shadows from Area Lights. In Eurographics Symposium on Rendering - DL-only Track, Adrien Bousseau and Morgan McGuire (Eds.).Google Scholar
- Sébastien Lagarde and Charles de Rousiers. 2014. Physically Based Shading in Theory and Practice: Moving Frostbite to PBR. In ACM SIGGRAPH Courses 2014.Google Scholar
- Johann Heinrich Lambert. 1760. Photometria, sive De mensura et gradibus luminus, colorum et umbrae. (1760).Google Scholar
- Pascal Lecocq, Arthur Dufay, Gaël Sourimant, and Jean-Eudes Marvie. 2016. Accurate analytic approximations for real-time specular area lighting. In Proceedings of the 20th ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games. 113--120.Google Scholar
Digital Library
- Pascal Lecocq, Gaël Sourimant, and Jean-Eudes Marvie. 2015. Accurate Analytic Approximations for Real-time Specular Area Lighting. In ACM SIGGRAPH 2015 Talks. Article 68, 1 pages.Google Scholar
- Tzu-Mao Li, Miika Aittala, Frédo Durand, and Jaakko Lehtinen. 2018. Differentiable Monte Carlo Ray Tracing through Edge Sampling. ACM Trans. Graph. (Proc. SIGGRAPH Asia) 37, 6 (2018).Google Scholar
- Addy Ngan, Frédo Durand, and Wojciech Matusik. 2005. Experimental Analysis of BRDF Models. In Proceedings of the Eurographics Symposium on Rendering. 117--226.Google Scholar
Digital Library
- Adam Paszke, Sam Gross, Francisco Massa, Adam Lerer, James Bradbury, Gregory Chanan, Trevor Killeen, Zeming Lin, Natalia Gimelshein, Luca Antiga, Alban Desmaison, Andreas Kopf, Edward Yang, Zachary DeVito, Martin Raison, Alykhan Tejani, Sasank Chilamkurthy, Benoit Steiner, Lu Fang, Junjie Bai, and Soumith Chintala. 2019. PyTorch: An Imperative Style, High-Performance Deep Learning Library. In Advances in Neural Information Processing Systems 32. 8024--8035.Google Scholar
- Christoph Peters. 2021. BRDF Importance Sampling for Polygonal Lights. ACM Trans. Graph. 40, 4 (2021), 14 pages.Google Scholar
Digital Library
- Julien Rabin, Gabriel Peyré, Julie Delon, and Marc Bernot. 2012. Wasserstein Barycenter and Its Application to Texture Mixing. In Scale Space and Variational Methods in Computer Vision. 435--446.Google Scholar
- Sebastian Ruder. 2016. An overview of gradient descent optimization algorithms. arXiv preprint arXiv:1609.04747 (2016).Google Scholar
- John M. Snyder. 1996. Area Light Sources for Real-Time Graphics. Technical Report MSR-TR-96-11. Microsoft Research.Google Scholar
- Bruce Walter, Stephen R. Marschner, Hongsong Li, and Kenneth E. Torrance. 2007. Microfacet Models for Refraction through Rough Surfaces. In Proceedings of the Eurographics Symposium on Rendering Techniques 2007. 195--206.Google Scholar
- Lifeng Wang, Zhouchen Lin, Wenle Wang, and Kai Fu. 2008. One-Shot Approximate Local Shading. Technical Report.Google Scholar
- Marcus Wassmer, Jerome Platteaux, Arne Schober, and Ignacio Llamas. 2018. Cinematic Lighting in Unreal Engine. In Game Developers Conference 2018.Google Scholar
- Yang Zhou, Lifan Wu, Ravi Ramamoorthi, and Ling-Qi Yan. 2021. Vectorization for Fast, Analytic, and Differentiable Visibility. ACM Trans. Graph. 40, 3 (2021).Google Scholar
Digital Library
Index Terms
Bringing Linearly Transformed Cosines to Anisotropic GGX
Recommendations
Real-time polygonal-light shading with linearly transformed cosines
In this paper, we show that applying a linear transformation---represented by a 3 x 3 matrix---to the direction vectors of a spherical distribution yields another spherical distribution, for which we derive a closed-form expression. With this idea, we ...
Practical Multiple-Scattering Sheen Using Linearly Transformed Cosines
SIGGRAPH '22: ACM SIGGRAPH 2022 TalksWe introduce a new volumetric sheen BRDF that approximates scattering observed in surfaces covered with normally-oriented fibers. Our previous sheen model was motivated by measured cloth reflectance, but lacked significant backward scattering. The model ...
Analytic spherical harmonic coefficients for polygonal area lights
Spherical Harmonic (SH) lighting is widely used for real-time rendering within Precomputed Radiance Transfer (PRT) systems. SH coefficients are precomputed and stored at object vertices, and combined interactively with SH lighting coefficients to enable ...






Comments