While experimenting with the XNA BlendState class, I found that it has two state groupings:
One for Alpha Blending and one for Color Blending (as the framework calls it).
The mutable members of each group are termed *BlendFunction
, *DestinationBlend
, and *SourceBlend
(where *
is replaced by either Alpha
or Color
).
I understand how to blend two RGBA colors, and I assume that's what the Color Blending function are for
What's the purpose of this 'alpha blending' that XNA apparently supports? How does it work?
Aren't all 4 color components, including the alpha value, modified by Color Blending anyway?