Add light attenuation to PathTracer2.