HLSL Styled Lighting. Demon bust courtesy of Jesse Brophy.

Demo code relies on NVidia's spot_tex.fxh, shadowMap.fxh, and Quad.fxh

By accumulating lighting and shadow terms into a value defining how "lit" the model is, this shader allows artist to define a hand-crafted full-wrap lighting falloff per-character, while still being compatible with depth map shadows.

Shaders