Quantcast
WoWInterface - View Single Post - Creating a "section" of alpha on texture by demand
View Single Post
02-13-18, 04:24 AM   #3
Lolzen
An Aku'mai Servant
 
Lolzen's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 36
Originally Posted by semlar View Post
It's unclear to me what you're trying to do from the screenshot and your description, but you can give the illusion of making a section of a texture transparent by placing two textures side by side, changing the alpha of one of them, and using texture:SetTexCoord to keep the images aligned if needed.
I want to make the health statusbar of the pet (the green bar on the top left) see through, but only on the area behind the castbar time.

The "issue" i have here, that this is basically "my/default setting", the width/height & placement of the UFs can be set by users, so with that in mind i have to keep in mind that basically the layout could be very different.
Thanks for the info.

Last edited by Lolzen : 02-13-18 at 04:35 AM.
  Reply With Quote