Fixing lighting on a static prop

From Valve Developer Community
Revision as of 15:10, 25 December 2012 by Goomba (talk | contribs) (Fixing lighting on static props)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.