Difference between revisions of "White"

From Valve Developer Community
Jump to: navigation, search
 
Line 5: Line 5:
 
; hl2 \ materials \ Lights
 
; hl2 \ materials \ Lights
  
The only differences between each '''white0##''' material is they become more blueish the greater the 000 number is (001-010). It's recommended to match the color of your texture with the light emitted defined in light.rad, unless you are looking for an effect, like a red wall that emits blue light.
+
It's recommended to match the color of your texture with the light emitted defined in light.rad, unless you are looking for an effect, like a red wall that emits blue light.
  
 
To customize the colors emitted by the '''white0##''' materials, you can locate them in the light.rad of HL2.
 
To customize the colors emitted by the '''white0##''' materials, you can locate them in the light.rad of HL2.

Latest revision as of 22:28, 14 November 2013

Français

The materials white0## are used to create 'texlight', textures that emit light in games. They are located in the HL2 folder:

hl2 \ materials \ Lights

It's recommended to match the color of your texture with the light emitted defined in light.rad, unless you are looking for an effect, like a red wall that emits blue light.

To customize the colors emitted by the white0## materials, you can locate them in the light.rad of HL2.

                                   ████████████
lights/white001 250 240 205 100    ████████████
lights/white002 189 233 247 425    ████████████
lights/white003 232 246 190 350    ████████████
lights/white004 170 228 247 425    ████████████
lights/white005 234 235 220 375    ████████████
lights/white006 234 235 220 100    ████████████
                                   ████████████