Thread Tools Display Modes
Prev Previous Post   Next Post Next
05-14-17, 09:15 PM   #21
StormFX
A Flamescale Wyrmkin
 
StormFX's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 109
Originally Posted by lightspark View Post
Yeah, that's the first thing I tested But your mask should be a separate texture, you can't "cut" it via mask:SetTexCoord(...). Last time I tested it SetTexCoord had no effect on mask texture, I'm not sure if it's a bug or intended though..
Actually, you shouldn't need to cut the mask. Just cut the icon. Use SetTexCoords(...) on the Icon layer to remove the funky edges Blizzard puts on them. Then just make sure your mask and icon are the same size (eg, 64x64 scaled to 32x32 in-game) and, assuming your mask texture is set up correctly, you should be good. In my new "testing" skin, I'm simply using the same texture (with alpha) for the mask that I'm using for the pushed/disabled/flash textures.
  Reply With Quote
 

WoWInterface » Developer Discussions » General Authoring Discussion » MaskTexture : new widget for 7.2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off