diff --git a/effects/invert/data/invert.frag b/effects/invert/data/invert.frag index 863c0cba46..ec1a375237 100644 --- a/effects/invert/data/invert.frag +++ b/effects/invert/data/invert.frag @@ -23,6 +23,7 @@ void main() tex *= modulation; tex.rgb = vec3(1.0) - tex.rgb; + tex.rgb *= tex.a; gl_FragColor = tex; }