Fandom

WoWWiki

UITYPE AlphaMode

Redirected from XML/Texture/alphaMode

104,641pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

API types

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 Edit

DISABLE DISABLE: Ignores alpha channel

BLEND BLEND: Uses alpha channel

ALPHAKEY ALPHAKEY: A 1-bit alpha which interprets alpha as either transparent or opaque.

ADD ADD: Uses alpha channel and dodges whites

MOD MOD: Ignores alpha channel and multiplies the image.

Notes Edit

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

Also on Fandom

Random Wiki