The BlendMode
enum describes how material is blended.
Value | Description |
---|---|
SUBTRACT | Subtracts pixel values of the source from the destination. In case of negative values, black is displayed. |
REPLACE | The non-transparent pixels of the source replace corresponding pixels of the destination. |
ASSOCIATIVE_ALPHA | Same as alpha blend mode, but for source with RGB channels of each pixel premultiplied by its alpha. |
ADD | Adds pixel values of the source to the destination. |
MULTIPLY | Multiplies the RGB channels of each pixel from the source with the values of the corresponding pixel from the destination. |
SCREEN | Values of each pixels in the source and destination are inverted, multiplied, and then inverted again. |
ALPHA | Linear interpolation between the pixels of the source and destination as specified by the alpha values of the source. |