Overview


The lighting system is the core component of the Zombie Wrangler renderer. It is implemented as a differed shading engine. This makes the system very efficient by decoupling lighting complexity from scene complexity. The result is a system that supports hundreds of lights on-screen simultaneously. The lighting system requires Pixel Shader 3.0.


Buffers


The renderer makes use of multiple buffers. These buffers store the material information for all objects in the world.

Buffer name
Red channel
Green channel
Blue channel
Alpha channel
CCCE
diffuse.r
diffuse.g
diffuse.b
entity shadow mask
NNNR
normal.x
normal.y
normal.z
reflectivity
SAO
shadow amount
ambient occlusion