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.
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
- Inspect transparent edges over white and black.
Simple illustrative equation; check the article for actual blend factors - 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
Limitations
Premultiplied input needs matching factors; inspect order and depth.