Return correct variable when debugging bloom.

Fixes #12922
This commit is contained in:
x2048 2022-11-03 08:43:31 +01:00
parent 9b24041394
commit 957a3e52fe

@ -21,7 +21,7 @@ vec4 applyBloom(vec4 color, vec2 uv)
if (uv.x > 0.5 && uv.y < 0.5)
return vec4(light, color.a);
if (uv.x < 0.5)
return light;
return color;
#endif
color.rgb = mix(color.rgb, light, bloomIntensity);
return color;