Charibot@legacy41530750 (talk | contribs) m (catfix) |
Charibot@legacy41530750 (talk | contribs) m (catfix, Replaced: {{wowapitype}} → {{wowapitype}}<br>) |
||
Line 1: | Line 1: | ||
− | {{wowapitype}} |
+ | {{wowapitype}}<br> |
''AlphaMode'' can take following values: |
''AlphaMode'' can take following values: |
Revision as of 00:55, 15 July 2008
AlphaMode can take following values:
- "DISABLE" - opaque texture
- "BLEND" - normal painting on top of the background, obeying alpha channels if present in the image (uses alpha)
- "ALPHAKEY" - one-bit alpha
- "ADD" - additive blend
- "MOD" - modulating blend
Examples
DISABLE: Ignores alpha channel
ALPHAKEY: A 1-bit alpha which interprets alpha as either transparent or opaque.
ADD: Uses alpha channel and dodges whites
MOD: Ignores alpha channel and multiplies the image.
Notes
- alphaMode attribute of Texture widget has type AlphaMode.
- As of patch 2.2.0, Blizzard uses only BLEND and ADD AlphaModes in their code.