Moderator elections are being held. See Valve Developer Community:Moderator elections for more details.
Users who would like to run for moderator must be autoconfirmed and have at least 100 edits. Users can check their own edit count at Special:Preferences.

Fixing lighting on a static prop

From Valve Developer Community
Jump to: navigation, search

Stub

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

Merge-arrows.png
It has been suggested that this article or section be merged with Static_Props_show_up_black. (Discuss)
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.