They define how texels or pixels are blend with the destination. Sometimes you might be able to use inverted blends, those just invert the self.alpha value
- add ()
- returns: (blendmode)
out = destination + self
- amodadd ()
- returns: (blendmode)
out = destination + (self * self.alpha)
- amodsub ()
- returns: (blendmode)
out = (self * self.alpha) - destination.
- amodsubrev ()
- returns: (blendmode)
out = destination - (self * self.alpha).
- decal ()
- returns: (blendmode)
out = destination * (1-self.alpha) + self * (self.alpha)
- disable ()
- returns: (blendmode)
removes setting the blendmode, warning if rfBlend is still true you will get undefined behavior
- max ()
- returns: (blendmode)
out = max(destination,self).
- min ()
- returns: (blendmode)
out = min(destination,self).
- modulate ()
- returns: (blendmode)
out = destination*self
- modulate2 ()
- returns: (blendmode)
out = destination*self*2. Allows self to brigthen (>0.5) or darken (<0.5) at the same time.
- replace ()
- returns: (blendmode)
out = self
- sub ()
- returns: (blendmode)
out = self - destination.
- subrev ()
- returns: (blendmode)
out = destination - self.