Mikk38024@legacy41558003 (talk | contribs) (Link to API Texture SetBlendMode also) |
Fibby19531@legacy41540267 (talk | contribs) m (XML/Texture/alphaMode moved to UITYPE AlphaMode: "ALPHAMODE" is a simpleType defined in UI.xsd, and as such should be named consistently with existing naming convention for UI objects.) |
Revision as of 01:12, 27 September 2007
AlphaMode is an attribute of textures. Nearly all alphaModes used in the default UI are "ADD."
From a post by Slouken on 1/19/06, the alphaModes and their meaning:
- "DISABLE" - opaque texture
- "BLEND" - normal painting on top of the background, obeying alpha channels if set (?)
- "ALPHAKEY" - 1-bit alpha
- "ADD" - additive blend
- "MOD" - modulating blend
These values are also used by the Texture:SetBlendMode() API.