The Blend node blends or mix together two separate inputs with a user-defined Blend Mode and an optional Opacity mask. Almost any Graph you build will make use of this node.
Mode - Sets the blending operation to be used.
Source - Top or foreground layer of the Blend operation.
Dest - Bottom or background layer of the blend operation.
Alpha - Determines blending behaviour
The Copy blending mode will just place the foreground on top of the background.
The Add blending mode will add the foreground input value to each corresponding pixel in the background.
The Substract blending mode will substract the foreground input value from each corresponding pixel in the background.
The Multiply blending mode will multiply the background input value by each corresponding pixel in the foreground.
The Add Sub blending mode works as following:
- Foreground pixels with a value higher than 0.5 are added to their respective background pixels.
- Foreground pixels with a value lower than 0.5 are substracted from their respective background pixels.
The Max Blending mode will pick the higher value between the background and the foreground.
The Min Blending mode will pick the lower value between the background and the foreground.
The Divide blending mode will divide the background input pixels value by each corresponding pixel in the foreground.
The Overlay blending mode combines Multiply and Screen blend modes:
- If the value of the lower layer pixel is below 0.5, then a Multiply type blending is applied
- If the value of the lower layer pixel is above 0.5, then a Screen type blending is applied
With Screen blend mode the values of the pixels in the two inputs are inverted, multiplied, and then inverted again.