View Single Post
03-15-21, 11:46 AM   #4
d87
A Chromatic Dragonspawn
 
d87's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2006
Posts: 163
Then you should use texture mask on the default texture to completely cut out the separator with the sides and then cover the hole with the purple part

Lua Code:
  1. local mask = self:CreateMaskTexture(nil, "BACKGROUND", nil, 0)
  2. mask:SetTexture("Interface\\Addons\\tmask", "CLAMPTOWHITE", "CLAMPTOWHITE")
  3. mask:SetAllPoints(self)
  4. mainTexture:AddMaskTexture(mask)
  Reply With Quote