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
This commit is contained in:
parent
46fdbd26a4
commit
20fdcf06f4
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ void main()
|
|||
|
||||
tex *= modulation;
|
||||
tex.rgb = vec3(1.0) - tex.rgb;
|
||||
tex.rgb *= tex.a;
|
||||
|
||||
gl_FragColor = tex;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue