Always snap to grid

Light colors reference

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 04:30, 23 March 2010 by Wormbo (Talk | contribs) (formatting and links)

Jump to: navigation, search

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

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

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