Blending modes

The Blend node offers the following blending modes:

Copy

The Copy blending mode will just place the foreground on top of the background.

Blending mode: Copy {modal="regular"}

For color images, the alpha channel is taken into account by default in the opacity.

This can be changed by using the ‘Alpha blending’ parameter.

Blending mode: Copy (2) {modal="regular"}

Add (Linear dodge)

The Add blending mode will add the foreground input value to each corresponding pixel in the background.

Blending mode: Add (Linear dodge) {modal="regular"}

Subtract

The Substract blending mode will substract the foreground input value from each corresponding pixel in the background.

If the result of the substraction is lower than 0, the value is capped to 0, resulting pure black.

Blending mode: Substract {modal="regular"}

Multiply

The Multiply blending mode will multiply the background input value by each corresponding pixel in the foreground.

As the value of each pixel is comprised between 0 and 1, the result is always equal or lower (darker) compared to the original.

Blending mode: Multiply {modal="regular"}

Add sub

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.

Blending mode: Add sub {modal="regular"}

Max (Lighten)

The Max Blending mode will pick the higher value between the background and the foreground.

Blending mode: Max (Lighten) {modal="regular"}

Min (Darken)

The Min Blending mode will pick the lower value between the background and the foreground.

Blending mode: Min (Darken) {modal="regular"}

Switch

The Switch blending mode is similar to the Copy mode, with one crucial difference:

  • ‘Opacity’ set to 0: The stream of nodes connected to the ‘Foreground’ input won’t be computed.
  • ‘Opacity’ set to 1: The stream of nodes connected to the ‘Background’ input won’t be computed.

Therefore, this mode may be used to improve the performances of your graph.

The Switch and Switch grayscale nodes are setup to use the blend nodes in these specific configurations.

Blending mode: Switch {modal="regular"}

Divide

The Divide blending mode will divide the background input pixels value by each corresponding pixel in the foreground.

Blending mode: Divide {modal="regular"}

Overlay

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

Blending mode: Overlay {modal="regular"}

Screen

With Screen blend mode the values of the pixels in the two inputs are inverted, multiplied, and then inverted again.

The result is the opposite effect to multiply and is always equal or higher (brighter) compared to the original.

Blending mode: Screen {modal="regular"}

Soft light

The Soft Light blend mode creates a subtle lighter or darker result depending on the brightness of the foreground color.

Blend colors that are more than 50% brightness will lighten the background pixels and colors that are less than 50% brightness will darken the background pixels.

Blending mode: Soft light {modal="regular"}

recommendation-more-help
dd48abc6-e399-43d2-9777-578ec70c5a23