Extracted clamping.
Extracted camera.
Extracted scene.
Extracted radiance methods by reflection type.
Rearranged and renamed a couple of variables.