ProtoFlux:Color Alpha Blend

From Resonite Wiki
Revision as of 17:42, 25 February 2024 by PJB (talk | contribs) (Created page with " {{#Invoke:ProtoFlux|GenerateUI |Name=Alpha Blend |Category=Colors |Inputs= [ {"Name":"Source", "Type":"color"}, {"Name":"Destination", "Type":"color"} ] |Outputs= [ {"Name":"*", "Type":"color"} ] |}} Color Alpha Blend does an [https://en.wikipedia.org/wiki/Alpha_compositing alpha blend] of its two input colors. The source is blended "onto" the destination, and the higher the source alpha, the more of the "source" color and less of the "destination" color comes through....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Alpha Blend
Source
*
Destination
Colors

Color Alpha Blend does an alpha blend of its two input colors. The source is blended "onto" the destination, and the higher the source alpha, the more of the "source" color and less of the "destination" color comes through.

Alpha values are summed 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.