Silhouette boundary points that were behind the camera could still be projected onto the film with a valid ds.uv coordinate.
We now check that ss.p is within the frustum. Note that this could have been done in render_primarily_visible_silhouette too, but it is theoretically more efficient to mask those lanes before we've started measuring the contribution difference along the silhouette (delta L).
Description
Fixes #1233
Silhouette boundary points that were behind the camera could still be projected onto the film with a valid
ds.uv
coordinate.We now check that
ss.p
is within the frustum. Note that this could have been done inrender_primarily_visible_silhouette
too, but it is theoretically more efficient to mask those lanes before we've started measuring the contribution difference along the silhouette (delta L).