Blender Git Commit Log

Git Commits -> Revision 27cfc1e

Revision 27cfc1e by Clément Foucault (master)
April 20, 2021, 08:59 (GMT)
Fix T87541 EEVEE: AO causes black outline around objects and NaN pixels

It seems the pow result is unstable on some implementations.

Also avoid undefined behavior by clamping aoFactor to strict positive values.

Commit Details:

Full Hash: 27cfc1ea11461ca1257657afafb455be0da75cb1
Parent Commit: db0b1ca
Lines Changed: +5, -2

3 Modified Paths:

/source/blender/draw/engines/eevee/eevee_occlusion.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/ambient_occlusion_lib.glsl (+2, -1) (Diff)
/source/blender/draw/intern/shaders/common_math_lib.glsl (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021