Merge pull request #76053 from MightiestGoat/fix-sky-auto-exposure

Fix the grainy sky while using debanding.
This commit is contained in:
Rémi Verschelde 2023-05-24 08:46:28 +02:00
commit 852740a627
No known key found for this signature in database
GPG Key ID: C3336907360768E1
2 changed files with 2 additions and 2 deletions

View File

@ -215,6 +215,6 @@ void main() {
frag_color.a = alpha;
#ifdef USE_DEBANDING
frag_color.rgb += interleaved_gradient_noise(gl_FragCoord.xy);
frag_color.rgb += interleaved_gradient_noise(gl_FragCoord.xy) * luminance_multiplier;
#endif
}

View File

@ -290,6 +290,6 @@ void main() {
}
#ifdef USE_DEBANDING
frag_color.rgb += interleaved_gradient_noise(gl_FragCoord.xy);
frag_color.rgb += interleaved_gradient_noise(gl_FragCoord.xy) * params.luminance_multiplier;
#endif
}