mirror of
https://github.com/minetest/minetest.git
synced 2024-12-24 07:02:23 +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)
|
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…
Reference in New Issue
Block a user