changeset 15298 | 042a5e8d9c59 |
parent 12891 | a089326f0e16 |
--- a/share/hedgewars/Data/Shaders/default.fs Sun Aug 04 00:30:56 2019 +0200 +++ b/share/hedgewars/Data/Shaders/default.fs Sun Aug 04 02:38:11 2019 +0300 @@ -14,8 +14,8 @@ { if(enableTexture){ if (tintAdd){ - tint.a = 0.0; - gl_FragColor = clamp(texture2D(tex0, tex) + tint, 0.0, 1.1); + vec4 tint_ = vec4(tint.xyz, 0.0); + gl_FragColor = clamp(texture2D(tex0, tex) + tint_, 0.0, 1.1); }else{ gl_FragColor = texture2D(tex0, tex) * tint; }