Tweak glow so that black halo is less visible.

This commit is contained in:
Vincent Lejeune 2014-01-18 20:11:18 +01:00
parent 47099fb1a3
commit 00cf026051

View File

@ -10,7 +10,7 @@ void main()
vec4 col = texture2D(tex, coords);
float alpha = col.a;
if (alpha < 0.04) discard;
if (alpha < 0.04 || length(col.xyz) < 0.2) discard;
col *= vec4(vec3(4.0), 1.5);
col.a *= 0.6;