White: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
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.


(Examples)
  lights/white001 250 240 205 100
  lights/white001 250 240 205 100
  lights/white002 189 233 247 425
  lights/white002 189 233 247 425

Revision as of 03:25, 9 January 2011

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

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.

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


Template:Otherlang:en:fr