ltc_code

by selfshadow

selfshadow / ltc_code

Code for "Real-Time Polygonal-Light Shading with Linearly Transformed Cosines"

216 Stars 23 Forks Last release: Not found Other 12 Commits 6 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Overview

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)

Notes:

  • 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.

WebGL Demos

Quad lights
Line lights
Disk lights

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.