Fixing lighting on a static prop

From Valve Developer Community
Revision as of 21:30, 25 December 2012 by Mattshu (talk | contribs) (cleanup, stub)
Jump to navigation Jump to search
Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality because:
Format
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

Stub

This article or section is a stub. You can help by expanding it.

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.