mode Mode | enum | copy | | Blend 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 | enum | use_source_alpha | | How 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 | float | 1 | 0 to 1 | Global opacity. Multiplied by Opacity Map when one is connected. |