Author Topic: Colors  (Read 463 times)

I need some help with colors. I want to make a Red Dot, So it could be like "Laser Sights".

Well how to set that?

Example:

   colors[0]     = "0.2 0.2 0.1 0.9";
   colors[1]     = "0.1 0.1 0.0 0.9";
   colors[2]     = "0.1 0.1 0.0 0.0";

"This was taken from the 880 Rifle"

Well, I don't know if that is blue, or it's white, can someone help me?

Also, I'm not trying to copy of anything Space Guy. I asked yndaaa the model, He made it, I used it.

   colors[0]     = "1 1 0 0.9";
   colors[1]     = "1 0 0 0.9";
   colors[2]     = "1 0 0 0";

"R G B A"
Red, green, blue, alpha(transparency)

Well best answer I got is test it.

   colors[0]     = "1 1 0 0.9";
   colors[1]     = "1 0 0 0.9";
   colors[2]     = "1 0 0 0";

"R G B A"
Red, green, blue, alpha(transparency)
Good explanation.

An easy way to do it is to get a good hex value that you like and paste it in here.