Quantcast WoWInterface - View Single Post - SetColorTexture strange behaviour
View Single Post
10-14-19, 11:31 AM   #1
toha
A Murloc Raider
Join Date: Oct 2019
Posts: 4
SetColorTexture strange behaviour

hi folks!

!please! why in this two examples one working well seconds goese wrong

two frames will have different colors like expected
Code:
frame_1.texture:SetColorTexture(0, 0.007, 0.257)	
frame_2.texture:SetColorTexture(0, 0.1, 0.007)
now they will have same color...
Code:
frame_1.texture:SetColorTexture(0, 0.007, 0.257)	
frame_2.texture:SetColorTexture(0, 0.141, 0.007)
i really cant understand sometime it work some not.
https://wow.gamepedia.com/API_Texture_SetColorTexture tell that RGB can be Number (0.0 to 1.0) but then why it work well in some cases some not. is it possible to set there 0.1111 without errors ?

duhh...

client BfA (28153) x64 Oct 16 2018

Last edited by toha : 10-14-19 at 11:34 AM.
  Reply With Quote