When we weight the result by using:
result += Lr / samples_refl_estimate
do we also need to consider the num_lights ?
result += sum_j(Lr[j] / samples_refl_estimate) / num_lights
Thanks
@Nina I don't think so. We want the sum of all the lights so there is no need to divide it.
When we weight the result by using:
result += Lr / samples_refl_estimate
do we also need to consider the num_lights ?
result += sum_j(Lr[j] / samples_refl_estimate) / num_lights
Thanks
@Nina I don't think so. We want the sum of all the lights so there is no need to divide it.