mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
parent
9b24041394
commit
957a3e52fe
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ vec4 applyBloom(vec4 color, vec2 uv)
|
||||||
if (uv.x > 0.5 && uv.y < 0.5)
|
if (uv.x > 0.5 && uv.y < 0.5)
|
||||||
return vec4(light, color.a);
|
return vec4(light, color.a);
|
||||||
if (uv.x < 0.5)
|
if (uv.x < 0.5)
|
||||||
return light;
|
return color;
|
||||||
#endif
|
#endif
|
||||||
color.rgb = mix(color.rgb, light, bloomIntensity);
|
color.rgb = mix(color.rgb, light, bloomIntensity);
|
||||||
return color;
|
return color;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue