Fixing lighting on a static prop

From Valve Developer Community
Revision as of 19:44, 20 November 2013 by Pacguy19 (talk | contribs) (Cleanup)
Jump to navigation Jump to search

Stub

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

prop_static settings
The proper compile syntax

Lightmapped prop_static entities do not always get lit correctly. If this is the case, you will need to do the following:

  1. Turn on expert compiling.
  2. In the "Compile/run commands:" box, click on the $light_exe option.
  3. Add the following to the command parameters before "-game":
    • -final
    • -both
    • -StaticPropPolys
    • -TextureShadows
    • -staticproplighting

Static props will now give off the correct shadows.