Thread Tools Display Modes
Prev Previous Post   Next Post Next
02-07-22, 11:57 PM   #1
Firesong
A Deviate Faerie Dragon
Join Date: Jan 2022
Posts: 19
Question Puzzled By SetColorTexture

This question is not crucial but I am puzzled and would be grateful for a pointer in the right direction.

MapFrame.texture:SetColorTexture(0, 0, 0) gives me black.

MapFrame.texture:SetColorTexture(255, 255, 255) gives me white.

MapFrame.texture:SetColorTexture(255, 0, 0) gives me red.

MapFrame.texture:SetColorTexture(0, 255, 0) gives me green.

But MapFrame.texture:SetColorTexture(12, 34, 56) gives me white as do a whole lot of other combinations.

I've confirmed the unexpected whites by screenshot, paste into Paint and using the color picker.

How can this be? Why are combnations like 12, 34, 56 giving me white?

Thanks in advance.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Puzzled By SetColorTexture


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off