Lights.rad: Difference between revisions
Jump to navigation
Jump to search
TomEdwards (talk | contribs) (cleanup) |
(Removed todo, sadly you can't :( Tested.) |
||
Line 7: | Line 7: | ||
#Forces shadows ''of a [[model]]'' to be calculated '''using its material's [[$translucent|translucency]]''', as opposed to its polygons. | #Forces shadows ''of a [[model]]'' to be calculated '''using its material's [[$translucent|translucency]]''', as opposed to its polygons. | ||
#:<pre>forcetextureshadow props_wasteland/interior_fence001a.mdl</pre> | #:<pre>forcetextureshadow props_wasteland/interior_fence001a.mdl</pre> | ||
== See Also == | == See Also == |
Revision as of 04:07, 17 September 2008
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:
- Makes a material applied to a brush surface emit light (numbers are RGBA).
lights/my_lightpanel 250 240 205 100
- Prevents static shadows from being cast on a material.
noshadow tree_deciduous_01a_branches.vmt
- Forces shadows of a model to be calculated using its material's translucency, as opposed to its polygons.
forcetextureshadow props_wasteland/interior_fence001a.mdl