What it does

Ordinary Alpha Blend weights the foreground by Alpha and the background by 1−Alpha. Lower alpha reveals more background; higher alpha gives the foreground more influence.

Figure: Conceptual relationship: Source color/alpha → Weight with destination → Transparent result
Figure: Conceptual relationship: Source color/alpha → Weight with destination → Transparent result

How to use it

Straight alpha commonly uses SrcAlpha OneMinusSrcAlpha, weighting foreground by alpha and background by one minus alpha. Premultiplied RGB already contains that weighting and needs matching factors.

A concrete example

A half-alpha red foreground over black contributes half its source red in the basic calculation. Applying SrcAlpha again to premultiplied RT output can darken soft edges.

How to check it

  1. Inspect transparent edges over white and black.
    Simple illustrative equation; check the article for actual blend factors
    Simple illustrative equation; check the article for actual blend factors
  2. Trace shader RGB/alpha, stored RT values and the final UI material, separating ordering from double weighting.
    Simple illustrative equation; check the article for actual blend factors
    Simple illustrative equation; check the article for actual blend factors

Limitations

Premultiplied input needs matching factors; inspect order and depth.

References