Rendering an image of the scene is handled by an instance of a class that implements the Integrator interface.
The light to start each photon path from is chosen according to a PDF defined by the lights' respective powers.
Computes a direct lighting estimate for a single light source sample.
Most basic direct lighting strategy.
Estimate direct lighting for only one randomly chosen light and multiply the result by the number of lights to compensate.