Fenmaz / ltc_code

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

License:Other


Languages

Language:PHP 61.1%Language:JavaScript 27.9%Language:HTML 5.1%Language:GLSL 2.7%Language:C++ 2.6%Language:CSS 0.5%Language:C 0.1%Language:Lua 0.0%