View Single Post
05-01-17, 11:47 PM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
Used in the artifact power button template:
Code:
<Layer level="OVERLAY" textureSubLevel="2">
	<Texture parentKey="Icon">
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
	</Texture>
</Layer>
<Layer level="OVERLAY" textureSubLevel="1">
	<Texture parentKey="IconDesaturated" desaturated="true">
		<Anchors>
			<Anchor point="TOPLEFT" relativeKey="$parent.Icon" />
			<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Icon" />
		</Anchors>
	</Texture>
	<MaskTexture parentKey="CircleMask" file="Interface\CharacterFrame\TempPortraitAlphaMask" hWrapMode="CLAMPTOBLACKADDITIVE" vWrapMode="CLAMPTOBLACKADDITIVE">
		<Anchors>
			<Anchor point="CENTER"/>
		</Anchors>
		<MaskedTextures>
			<MaskedTexture childKey="Icon"/>
			<MaskedTexture childKey="IconDesaturated"/>
		</MaskedTextures>
	</MaskTexture>
</Layer>
The MaskTexture childKeys point to the two textures created.
The file TempPortraitAlphaMask is just a white circle on transparent background presumably used for creating an overlay mask. I don't use the default artifact power bar so garner from that what you will.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 05-01-17 at 11:56 PM.
  Reply With Quote