Lights.rad: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Removed todo, sadly you can't :( Tested.)
(made redir)
Line 1: Line 1:
'''Lights.rad''' is a plain text file that can be used to manipulate the way [[Vrad|VRAD]] handles given [[material]]s when compiling static lighting. It performs three functions:
#redirect [[Vrad#Lights_files]]
 
#Makes a material applied to a [[brush]] surface '''emit light''' (numbers are [[RGBA]]).
#:<pre>lights/my_lightpanel 250 240 205 100</pre>
#'''Prevents static shadows''' from being cast on a material.
#:<pre>noshadow tree_deciduous_01a_branches.vmt</pre>
#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>
 
== See Also ==
* [[Vrad|VRAD]]
* [[Creating a Material]]
 
[[Category:Level design]]

Revision as of 04:31, 17 September 2008

Redirect to: