Commit f224a69a authored by Martin Flöser's avatar Martin Flöser
Browse files

Fix blending issue with invert effect

Actually it's more a hack and should be addressed in the next
release cycle by allowing effects to modify the scene's blend
equation.
BUG: 274424
FIXED-IN: 4.7.0
parent 21d8d143
......@@ -23,6 +23,7 @@ void main()
tex *= modulation;
tex.rgb = vec3(1.0) - tex.rgb;
tex.rgb *= tex.a;
gl_FragColor = tex;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment