BlendMode

The BlendMode enum describes how material is blended.

Values

ValueDescription
SUBTRACTSubtracts pixel values of the source from the destination. In case of negative values, black is displayed.
REPLACEThe non-transparent pixels of the source replace corresponding pixels of the destination.
ASSOCIATIVE_ALPHASame as alpha blend mode, but for source with RGB channels of each pixel premultiplied by its alpha.
ADDAdds pixel values of the source to the destination.
MULTIPLYMultiplies the RGB channels of each pixel from the source with the values of the corresponding pixel from the destination.
SCREENValues of each pixels in the source and destination are inverted, multiplied, and then inverted again.
ALPHALinear interpolation between the pixels of the source and destination as specified by the alpha values of the source.