diff --git a/effects/invert/data/1.10/invert.frag b/effects/invert/data/1.10/invert.frag index a9e1201460..9fe602b654 100644 --- a/effects/invert/data/1.10/invert.frag +++ b/effects/invert/data/1.10/invert.frag @@ -14,8 +14,8 @@ void main() tex.rgb = tex.rgb * vec3( saturation ) + desaturated * vec3( 1.0 - saturation ); } - tex *= modulation; tex.rgb = vec3(1.0) - tex.rgb; + tex *= modulation; tex.rgb *= tex.a; gl_FragColor = tex; diff --git a/effects/invert/data/1.40/invert.frag b/effects/invert/data/1.40/invert.frag index 0b6d21951e..6dee1e60ad 100644 --- a/effects/invert/data/1.40/invert.frag +++ b/effects/invert/data/1.40/invert.frag @@ -17,8 +17,8 @@ void main() tex.rgb = tex.rgb * vec3( saturation ) + desaturated * vec3( 1.0 - saturation ); } - tex *= modulation; tex.rgb = vec3(1.0) - tex.rgb; + tex *= modulation; tex.rgb *= tex.a; fragColor = tex;