Lights.rad

From Valve Developer Community
Revision as of 03:04, 17 September 2008 by TomEdwards (talk | contribs) (cleanup)
Jump to navigation Jump to search

Lights.rad is a plain text file that can be used to manipulate the way VRAD handles given materials when compiling static lighting. It performs three functions:

  1. Makes a material applied to a brush surface emit light (numbers are RGBA).
    lights/my_lightpanel	250 240 205 100
  2. Prevents static shadows from being cast on a material.
    noshadow tree_deciduous_01a_branches.vmt
  3. Forces shadows of a model to be calculated using its material's translucency, as opposed to its polygons.
    forcetextureshadow props_wasteland/interior_fence001a.mdl
Todo: Can you force texture shadows on a material?

See Also