ProtoFlux:ColorX Soft Additive Blend

From Resonite Wiki
Revision as of 22:17, 25 February 2024 by PJB (talk | contribs) (Created page with " {{#Invoke:ProtoFlux|GenerateUI |Name=Color XSoft Additive Blend |Category=Colors |Inputs= [ {"Name":"Source", "Type":"colorX"}, {"Name":"Destination", "Type":"colorX"} ] |Outputs= [ {"Name":"*", "Type":"colorX"} ] |}} Color X 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. T...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Color XSoft Additive Blend
Source
*
Destination
Colors

Color X 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.

This node is currently bugged and does not properly handle color profile information, simply acting like Color Soft Additive Blend and always returning an sRGB color profile[1].

Inputs

Source (ColorX)

The color that is blended "onto" the destination.

Destination (ColorX)

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

Outputs

* (ColorX)

The blended color result.

See Also

References