Blender Git Loki

Git Commits -> Revision 09e77d2

Revision 09e77d2 by Clément Foucault (master)
March 13, 2021, 19:59 (GMT)
Fix T86476 EEVEE: SSS material with variable radius can produce NaNs

Simple divide by 0 error. The input radius was assumed to be safe
but is not when the user can scale it arbitrarly.

This also move the division out of the loop.

Commit Details:

Full Hash: 09e77d2c89315ee3b7153e53d6990469b6759fa7
Parent Commit: 165a2da
Lines Changed: +3, -1

1 Modified Path:

/source/blender/draw/engines/eevee/shaders/effect_subsurface_frag.glsl (+3, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021