Fixing lighting on a static prop: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Fixing lighting on static props)
 
m (cleanup, stub)
Line 1: Line 1:
{{cleanup|Format}}
{{stub}}
You have probably seen on some static props some bad lighting on them.
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'''
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'''

Revision as of 21:30, 25 December 2012

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.