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

mbstrange2/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

Languages

  • PHP 61.1%
  • JavaScript 27.9%
  • HTML 5.1%
  • GLSL 2.7%
  • C++ 2.6%
  • CSS 0.5%
  • Other 0.1%