View Single Post
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