Complete equation
If we are ray tracing for rendering, in summation only
visible lights are present, and there are two additional
terms: contribution from the reflected ray and
transmitted ray. If we are using Z-buffering, then all
active light sources are regarded as visible.