Mostly Harmless
Difference between revisions of "Light colors reference"
m (formatting and links) |
m (slightly reduced first column width) |
||
Line 7: | Line 7: | ||
The following table shows colors at their respective maximum brightness. | The following table shows colors at their respective maximum brightness. | ||
{|align=center style='background-color: black; color: white;' | {|align=center style='background-color: black; color: white;' | ||
− | !style='width: | + | !style='width:4em'|<sub>Sat</sub>\<sup>Hue</sup> |
!style='width:3em'|0 | !style='width:3em'|0 | ||
!style='width:3em'|15 | !style='width:3em'|15 | ||
Line 393: | Line 393: | ||
This is how Unreal Engine actually calculates the colors. | This is how Unreal Engine actually calculates the colors. | ||
{|align=center style='background-color: black; color: white;' | {|align=center style='background-color: black; color: white;' | ||
− | !style='width: | + | !style='width:4em'|<sub>Sat</sub>\<sup>Hue</sup> |
!style='width:3em'|0 | !style='width:3em'|0 | ||
!style='width:3em'|15 | !style='width:3em'|15 |
Latest revision as of 04:32, 23 March 2010
Light colors are specified through hue, saturation and brightness values in UE1 and UE2. The tables on this page lists various combinations of hue and saturation values and the resulting color. You only need to scale the brightness to fit your needs.
The colors you see here should be considered as approximations of the actual light colors, so you will have to experiment to get the desired effect in your map. "Hue" corresponds to the LightHue property and "Sat" to the LightSaturation property of the Light(RTNP, U1, UT, U2, U2XMP, UE2Runtime, UT2003, UT2004) actor and actually any other actor type as well.
Full brightness[edit]
The following table shows colors at their respective maximum brightness.
Sat\Hue | 0 | 15 | 30 | 45 | 60 | 75 | 90 | 105 | 120 | 135 | 150 | 165 | 180 | 195 | 210 | 225 | 240 | 255 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | ||||||||||||||||||
15 | ||||||||||||||||||
30 | ||||||||||||||||||
45 | ||||||||||||||||||
60 | ||||||||||||||||||
75 | ||||||||||||||||||
90 | ||||||||||||||||||
105 | ||||||||||||||||||
120 | ||||||||||||||||||
135 | ||||||||||||||||||
150 | ||||||||||||||||||
165 | ||||||||||||||||||
180 | ||||||||||||||||||
195 | ||||||||||||||||||
210 | ||||||||||||||||||
225 | ||||||||||||||||||
240 | ||||||||||||||||||
255 |
Uniform brightness[edit]
The following table shows colors with equal brightness. You may notice that yellow, cyan and magenta colors look darker than red, green and blue colors. This is because the total brightness value is constant in each row.
This is how Unreal Engine actually calculates the colors.
Sat\Hue | 0 | 15 | 30 | 45 | 60 | 75 | 90 | 105 | 120 | 135 | 150 | 165 | 180 | 195 | 210 | 225 | 240 | 255 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | ||||||||||||||||||
15 | ||||||||||||||||||
30 | ||||||||||||||||||
45 | ||||||||||||||||||
60 | ||||||||||||||||||
75 | ||||||||||||||||||
90 | ||||||||||||||||||
105 | ||||||||||||||||||
120 | ||||||||||||||||||
135 | ||||||||||||||||||
150 | ||||||||||||||||||
165 | ||||||||||||||||||
180 | ||||||||||||||||||
195 | ||||||||||||||||||
210 | ||||||||||||||||||
225 | ||||||||||||||||||
240 | ||||||||||||||||||
255 |