Due to the size of the subject, the deferred rendering infrastructure in the
r2 package is described in several sections. The rendering of opaque geometry is described in the
Geometry section, the subsequent lighting of that geometry is described in the
Lighting section. The details of the position reconstruction algorithm, an algorithm utterly fundamental to deferred rendering, is described in
Position Reconstruction.