If this difference is lower than a given threshold, the point is in light, otherwise it is in shadow. If the point is
in light, the form factor is computed and used to modify the shadow value parameter in the shadow map by
shadow_value plus form factor. In this way, the shadow values in the shadow map are modified according to the shadow
mask for use in rendering of the image.