Added ability to precompute direct light.