Quantcast WoWInterface - View Single Post - Color space differences between StatusBar and Texture
View Single Post
02-27-19, 08:14 AM   #5
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 328
I believe your custom texture isn't fully opaque. Could you upload it?

On a side note.

Lua Code:
  1. b.texture:SetTexture('Interface\\AddOns\\tMinimap\\Texture')
  2. b.texture:SetColorTexture(1, 0, 0)

This doesn't do what you think it does. SetColorTexture is the same as SetTexture, but accepts RGBA instead of texture IDs or paths, it means that the only widget that actually uses your custom texture is the statusbar.

Try doing this:
Lua Code:
  1. b.texture:SetTexture('Interface\\AddOns\\tMinimap\\Texture')
  2. b.texture:SetVertexColor(1, 0, 0)
__________________

Last edited by lightspark : 02-27-19 at 08:56 AM.
  Reply With Quote