EntityColor Color Range

Blitz3D Forums/Blitz3D Programming/EntityColor Color Range

My equations aren't EXACTLY correct here I was just thinking because like I said, red will become white. There's something else going on internally, maybe a conversion to HSV, or maybe just white is gradually added to the color... I'm not sure.

So don't update the help file with the equations I gave cause they're wrong. :-)

The important thing is not knowing the equations. That won't give you the intuition to know what is going on.

Just know that you can specify rgb colors up to 511, and that any time a vertex color exceeds 255 either because you set the color to that, or because it's illuminated by a lot of ambient light and specular is enabled, you're gonna start seeing specular-like overbrightening effects.