-
Notifications
You must be signed in to change notification settings - Fork 65
Wrath Blending
fallenoak edited this page Nov 23, 2016
·
29 revisions
When blending is enabled, Wrath of the Lich King always uses FUNC_ADD
for the blending equation.
State | Name | Src | Dest | Comment |
---|---|---|---|---|
0 |
Blend_Opaque |
ONE |
ZERO |
Blending disabled |
1 |
Blend_AlphaKey |
ONE |
ZERO |
Blending disabled |
2 |
Blend_Alpha |
SRC_ALPHA |
ONE_MINUS_SRC_ALPHA |
Standard blending func |
3 |
Blend_Add |
SRC_ALPHA |
ONE |
Additive blending func |
4 |
Blend_Mod |
DST_COLOR |
ZERO |
Modulative blending func |
5 |
Blend_Mod2x |
DST_COLOR |
SRC_COLOR |
2x modulative blending func |
6 |
Blend_ModAdd |
DST_COLOR |
ONE |
Modulative + additive |
7 |
Blend_InvSrcAlphaAdd |
ONE_MINUS_SRC_ALPHA |
ONE |