This repository contains an (evolving) reference implementation for the following publications:
- Real-Time Polygonal-Light Shading with Linearly Transformed Cosines (2016)
- Real-Time Area Lighting: a Journey From Research to Production (2016)
- Linear-Light Shading with Linearly Transformed Cosines (2017)
- Real-Time Line- and Disk-Light Shading (2017)
- The Linearly Transformed Cosine (LTC) tables in this implementation differ in their parameterisation and storage compared to the original paper. See fitting code and WebGL demos for details.