Need help with ltc_code?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

selfshadow
275 Stars 27 Forks Other 12 Commits 0 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

# 85,685
Lua
Shell
D
directx...
12 commits

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.