UITYPE AlphaMode

From Warcraft Wiki
Jump to navigation Jump to search

AlphaMode can take the 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

Details

  • alphaMode attribute of Texture widget has type AlphaMode.
  • As of patch 2.2.0, Blizzard uses only BLEND and ADD AlphaModes in their code.

Examples

BlendMode Description
DISABLE.jpg DISABLE
Ignores alpha channel
BLEND.jpg BLEND
Uses alpha channel
ALPHAKEY.jpg ALPHAKEY
An 1-bit alpha which interprets alpha as either transparent or opaque
ADD.jpg ADD
Uses alpha channel and dodges whites
MOD.jpg MOD
Ignores alpha channel and multiplies the image

See also