Fix the grainy sky while using debanding

This commit is contained in:
mightygoat 2023-04-14 14:55:33 +05:30
parent 4dcf2c5431
commit 69f634ac78
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
}