Linear-Light Shading with Linearly Transformed Cosines
Eric Heitz (Unity Technologies) and Stephen Hill (Lucasfilm)
Book chapter in GPU Zen
We recently introduced a new real-time area-light shading technique dedicated to lights with polygonal shapes. In this chapter, we extend this area-lighting framework to support linear (line-shaped) lights in addition to polygons. Linear lights are cheaper to shade than polygons and they provide a good approximation for thin emitting cylinders (fluorescent tubes, lightsabers, etc.).