Page 1 of 1

Lamps don't consider white/grey/black a color

Posted: Wed Sep 15, 2021 2:56 pm
by mrvn
The "Use colors" option of lamps ignores white, grey and black as color signals.
black-lamp-bug.png
black-lamp-bug.png (258.13 KiB) Viewed 1453 times
I expected the top lamp to be black and the bottom lamp to be white because 10 > 1.

Re: Lamps don't consider white/grey/black a color

Posted: Wed Sep 15, 2021 3:11 pm
by Loewchen
That is just not how they work, higher values do not give precedence to colors and grey and black are just not viable.

Re: Lamps don't consider white/grey/black a color

Posted: Wed Sep 15, 2021 3:21 pm
by mrvn
Loewchen wrote: Wed Sep 15, 2021 3:11 pm That is just not how they work, higher values do not give precedence to colors and grey and black are just not viable.
Ok, so using the higher count could be an Idea&Suggestion.

Why isn't grey and black viable? It's just another RGB value. In viewtopic.php?f=7&t=99956 there is a black lamp due to integer overflow bugs. Looks fine to me.

Re: Lamps don't consider white/grey/black a color

Posted: Thu Sep 16, 2021 7:18 pm
by quale
I took this opportunity to learn to mod. It doesn’t make physical sense, but it works. It also adds even more shades to be used with that bug. :lol:

I should add that the game already recognizes white. It just doesn’t do much because it had the lowest priority, and if no color is specified you get white anyway.