I'm working on a long-term GM project right now, and I want to add some effects, including something that can invert colours behind it.
Is there a way to manipulate the blend mode to do this?
C1 = colour of the pixel behind object (original colour)
C2 = colour of the pixel in the same position of the object
A = alpha of the pixel in the same position of the object
C = final colour of pixel in the position
I want the pixels to follow this kind of blend:
C = A*(1-C1) + (1-A)*(C2)
Edited by bjshnog, 22 June 2012 - 12:30 AM.











