Difference between revisions of "White"

From Valve Developer Community
Jump to: navigation, search
(Err, I meant orphan)
Line 10: Line 10:
 
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.
  
  lights/white001 250 240 205 100
+
  lights/white001 250 240 205 100   <span style="color:#FAF0CD;">████████</span>
  lights/white002 189 233 247 425
+
  lights/white002 189 233 247 425   <span style="color:#BDE9F7;">████████</span>
  lights/white003 232 246 190 350
+
  lights/white003 232 246 190 350   <span style="color:#E8F6BE;">████████</span>
  lights/white004 170 228 247 425
+
  lights/white004 170 228 247 425   <span style="color:#AAE4F7;">████████</span>
  lights/white005 234 235 220 375
+
  lights/white005 234 235 220 375   <span style="color:#EAEBDC;">████████</span>
  lights/white006 234 235 220 100
+
  lights/white006 234 235 220 100   <span style="color:#EAEBDC;">████████</span>
  
 
[[Category:Material System]]
 
[[Category:Material System]]

Revision as of 22:22, 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

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    ████████