diff --git a/effects/invert/data/invert.frag b/effects/invert/data/invert.frag index 3cf809db52..a9e1201460 100644 --- a/effects/invert/data/invert.frag +++ b/effects/invert/data/invert.frag @@ -1,7 +1,6 @@ uniform sampler2D sampler; uniform vec4 modulation; uniform float saturation; -uniform int u_forceAlpha; varying vec2 varyingTexCoords; @@ -9,10 +8,6 @@ void main() { vec4 tex = texture2D(sampler, varyingTexCoords); - if (u_forceAlpha > 0) { - tex.a = 1.0; - } - if (saturation != 1.0) { vec3 desaturated = tex.rgb * vec3( 0.30, 0.59, 0.11 ); desaturated = vec3( dot( desaturated, tex.rgb ));