Finalized photon generation and light emission distribution for photon mapping.