Files
o3de/Gems
Thomas Poulet 6726d7a886 Fix quad light NAN on contact with other surfaces (#6174)
* 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>
2021-12-08 13:51:55 -06:00
..
2021-12-07 12:35:41 -08:00
2021-12-07 12:35:41 -08:00
2021-11-30 15:07:57 -08:00
2021-12-01 07:49:22 -07:00
2021-11-30 18:58:40 +00:00
2021-11-30 15:07:57 -08:00
2021-11-30 08:47:21 -08:00
2021-12-01 16:50:45 -08:00
2021-11-30 15:36:58 +00:00