Lights.rad or "Which of these 10 white light textures should I use?"

AsG_Alligator

qhull precision error
aa
Aug 5, 2016
604
1,200
So you may have been looking for a white texture to use in a window or similar thing in your map, and you probably have noticed theres a LOT of these textures. You might have also noticed that these textures actually emit light on their own.

These are referred to as "texlights" and their properties are defined in lights.rad file located in root folder of your source game of choice. This file might be packed in one of the vpk's or it can be in root folder of your steam game install.

Looking for the file over and over may be tiring so if you ever wondered which of the textures will fit your desired use - here are most the textures listed in TF2 lights.rad along with light color and brightness:


upload_2018-4-7_18-45-30.png


lights/blue001 107 116 116 50
lights/blue002 107 116 116 100
lights/blue003 107 116 116 200
lights/blue004 151 165 204 50


upload_2018-4-7_18-47-33.png


lights/white001 150 150 150 50
lights/white002 150 150 150 100
lights/white003 150 150 150 200
lights/white004 170 228 247 425
lights/white005 234 235 220 375
lights/white006 234 235 220 100 (texture missing)
lights/white007 255 255 255 50
lights/white008 255 255 255 20
lights/white_fill 150 150 150 5
lights/white001_nochop 250 240 205 100
lights/white002_nochop 189 233 247 425
lights/white003_nochop 232 246 190 350
lights/white004_nochop 170 228 247 425
lights/white005_nochop 234 235 220 375 (texture missing)
lights/white006_nochop 234 235 220 100 (texture missing)


upload_2018-4-7_18-50-38.png


moon/moon_ceiling_light01 255 250 245 150
moon/moon_ceiling_light01b 255 250 245 200
moon/moon_ceiling_light01c 255 250 245 25
moon/moon_ceiling_light01d 255 250 245 400


upload_2018-4-7_18-54-30.png

lights/fluorescentcool001a 189 231 232 350

upload_2018-4-7_18-54-49.png

lights/fluorescentcool001b 236 255 182 350

lights/fluorescentcool002a 189 231 232 400 (texture missing)
lights/fluorescentcool002b 236 255 182 400 (texture missing)



upload_2018-4-7_18-55-57.png

lights/fluorescentcool003a 189 231 232 300

lights/fluorescentwarm001a 239 216 193 350 (texture missing)
lights/fluorescentwarm002a 239 216 193 400 (texture missing)

upload_2018-4-7_18-58-36.png

lights/fluorescentwhite001a 245 245 245 350

lights/fluorescentwhite002a 245 245 245 400 (texture missing)

upload_2018-4-7_19-1-14.png

lights/hazzardred001a 228 37 0 300


lights/hazzardyellow001a 250 215 74 300 (texture missing)


Some entries referring to non-existant materials have been omitted.

I hope this helps somewhat.

Cheers.




 

Attachments

  • upload_2018-4-7_18-55-37.png
    upload_2018-4-7_18-55-37.png
    28.7 KB · Views: 186