6726d7a886
* Fix quad light NAN on contact with other surfaces - Quad lights can produce nan if intersecting other surfaces. This is caused by a division by 0 in the edge integration functions. Fixed by saturating the output. - Small refactoring on LTC edge integration functions. To make the terms more explicit. Signed-off-by: Thomas Poulet <1039134+Bindless-Chicken@users.noreply.github.com> * Replace incorrect saturate with EPSILON clamp Signed-off-by: Thomas Poulet <1039134+Bindless-Chicken@users.noreply.github.com> Co-authored-by: Thomas Poulet <1039134+Lord-Nazdar@users.noreply.github.com>