ProtoFlux:Color Soft Additive Blend

From Resonite Wiki
Revision as of 19:58, 25 February 2024 by PJB (talk | contribs) (Created page with " {{#Invoke:ProtoFlux|GenerateUI |Name=Soft Additive Blend |Category=Colors |Inputs= [ {"Name":"Source", "Type":"color"}, {"Name":"Destination", "Type":"color"} ] |Outputs= [ {"Name":"*", "Type":"color"} ] |}} Color Additive Blend does a "soft additive" blend of its two input colors. The result of the color components is destination color + (source color * (1 - destination color)). The alpha component is simply added together and clamped to a maximum of 1. == Inputs ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Soft Additive Blend
Source
*
Destination
Colors

Color Additive Blend does a "soft additive" blend of its two input colors. The result of the color components is destination color + (source color * (1 - destination color)). The alpha component is simply added together and clamped to a maximum of 1.

Inputs

Source (Color)

The color that is blended "onto" the destination.

Destination (Color)

The destination color that the source is blended "onto".

Outputs

* (Color)

The blended color result.