Blend

Utilities

Combines two textures using a selectable blend mode and opacity.

Select a node to adjust its parameters. Double-click a node to inspect.

Inputs

  • foreground
  • background
  • opacity_map (optional) : Optional per-pixel opacity multiplier.

Parameters

ParameterTypeDefaultRangeDescription
mode
Mode
enumcopyBlend mode for combining foreground and background.
  • copy : Use the foreground color as the blended color before opacity is applied.
  • multiply : Darken by multiplying background and foreground colors.
  • screen : Brighten by inverting, multiplying, and inverting back.
  • overlay : Multiply dark background areas and screen light background areas.
  • add : Add Foreground to Background. Values outside 0-1 are preserved in HDR formats.
  • subtract : Subtract Foreground from Background. Values outside 0-1 are preserved in HDR formats.
  • add_sub : Add or subtract based on whether the foreground is above or below mid gray.
  • min : Use the darker value from Background and Foreground.
  • max : Use the brighter value from Background and Foreground.
  • divide : Divide Background by Foreground. Values outside 0-1 are preserved in HDR formats.
  • soft_light : Apply a soft contrast blend using the foreground as the light source.
alpha_blending
Alpha blending
enumuse_source_alphaHow the alpha channels of Foreground and Background are interpreted.
  • use_source_alpha : Interpolate the blend result with Background using Opacity multiplied by Foreground alpha.
  • ignore_alpha : Interpolate the blend result with Background using Opacity alone.
  • straight_alpha_blending : Composite Foreground and Background as straight-alpha colors.
  • premultiplied_alpha_blending : Composite Foreground and Background as premultiplied-alpha colors. Only applies to Copy mode.
opacity
Opacity
float10 to 1Global opacity. Multiplied by Opacity Map when one is connected.

Outputs

  • output (default format: inherit)