diff --git a/Content/Shaders/GI/DDGI.flax b/Content/Shaders/GI/DDGI.flax index bfc93300d..7165ef199 100644 --- a/Content/Shaders/GI/DDGI.flax +++ b/Content/Shaders/GI/DDGI.flax @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dc50eaaab4396490e2fdb7a6de00909a6d44f726b905009e6395edb3a021947e -size 23637 +oid sha256:f45912a120c8ab03e82711241402a0116b54468be911a382e2a0b5d8ee42c379 +size 23626 diff --git a/Source/Shaders/GI/DDGI.shader b/Source/Shaders/GI/DDGI.shader index 466a85b06..2c272df8a 100644 --- a/Source/Shaders/GI/DDGI.shader +++ b/Source/Shaders/GI/DDGI.shader @@ -447,10 +447,10 @@ void CS_UpdateProbes(uint3 GroupThreadId : SV_GroupThreadID, uint3 GroupId : SV_ float3 irradianceDelta = result.rgb - previous; float irradianceDeltaMax = Max3(abs(irradianceDelta)); float irradianceDeltaLen = length(irradianceDelta); - if (irradianceDeltaMax > 0.2f) + if (irradianceDeltaMax > 0.5f) { // Reduce history weight after significant lighting change - historyWeight = max(historyWeight - 0.9f, 0.0f); + historyWeight = historyWeight * 0.5f; } if (irradianceDeltaLen > 2.0f) {