Fixing lighting on a static prop: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (cleanup, stub)
(They aren't lightmapped, lol)
Tag: New redirect
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{cleanup|Format}}
#REDIRECT [[Static_Props_show_up_black]]
{{stub}}
You have probably seen on some static props some bad lighting on them.
In order to correct lighting on them, on your compile settings, go to expert, click '''New''', copy '''Default''' compile log, give the following name '''Final Compile (slow)''', click on it on the drop down list, then go on '''$light_exe'''
and add the following before the '''-game''':
-final -both -StaticPropPolys -TextureShadows -staticproplighting
After adding this, you should have something like this:
'''-final -both -StaticPropPolys -TextureShadows -staticproplighting -game $gamedir $path\$file'''.
This will fix your lighting on static props.

Latest revision as of 14:11, 24 April 2025