Skip to content

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

License

Notifications You must be signed in to change notification settings

selfshadow/ltc_code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This repository contains an (evolving) reference implementation for the following publications:

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published