Why my texture is only fully yellow?
Hello evreybody,
I created the following texture on my textures folder in \myaddon\textures: in DXT5, size 64x64, with alpha chanel But I have this result on the screen: I don't understand. this is my code in control.lua Lua Code:
and code in textures.lua Lua Code:
Do you have an idea? Thank's you. |
Your texture could not be loaded, so it is displayed as a white box. The white box is tinted yellow because of
nameplate.monsterDiff:SetColor(240,100,0,1) The texure could not be loaded because iconCFG.defaultboss[normal] returns nil in your code. Lua Code:
You need to call iconCFG.defaultboss.normal or iconCFG.defaultboss["normal"] |
I understand better. Thank you very much for your help.
Indeed, it works better. :) |
All times are GMT -6. The time now is 02:05 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI