Author |
Message |
Konan
|
Thursday, October 07, 2010
Hello. I want to give a purple aura to some character and I don't understand the color codes.
So if somebody can modify this:
auraColor 1.0 1.0 0.1
auraLightColor 1.0 1.0 1.0
auraTrailColor 1.0 1.0 0.1
to purple..please?
|
Zeth
The Admin
|
Thursday, October 07, 2010
It's simple. Those three numbers you see are the RGB (Red Green Blue) values normalized. What you are probably used to is entering a range between 0 and 255 rather than a range between 0 and 1.0. To convert, you simply need to divide your original number by 255.
Lets do a few examples. First, in reverse using the value you have right now.
Red Green Blue
-------------------
1.0 1.0 0.1 (normalized color)
X 255 255 255
-------------------
255 255 25 (decimal color)
As you can see by this mini chart, the color you have right now is yellow. Lets do a little calculation and find out how to do a purple.
Red Green Blue
-------------------
170 16 170 (decimal color)
/ 255 255 255
-------------------
0.6 0.06 0.6 (normalized color)
It's really as easy as that. 4th grade (children's) math. Normalized colors are used everywhere in Quake 3 so knowing how to do a simple calculation is pretty important!
|
Konan
|
Thursday, October 07, 2010
I see..thanks!
|
Kakarot2550
|
Saturday, March 09, 2013
where is that color picker?
|
SparkingVegito
|
Saturday, March 09, 2013
Kakarot2550 wrote : where is that color picker?
in Photoshop.
|
Kakarot2550
|
Tuesday, March 26, 2013
okay I need aura color Blue and aura color Light blue also
I need Black Aura color please post the Code...
|
Buksna
Blaizing
|
Tuesday, March 26, 2013
Really?
Man....just stop whatever dream you are persuing
|