Fixing lighting on a static prop: Difference between revisions
Jump to navigation
Jump to search
m (cleanup, stub) |
(Cleanup) |
||
Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
[[File:Staticprop_compile.PNG|thumb|right|alt=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: | |||
# Turn on [[Hammer_Run_Map_Expert|expert compiling]]. | |||
# In the "Compile/run commands:" box, click on the '''$light_exe''' option. | |||
# Add the following to the command parameters before "-game": | |||
''' | #* '''-final''' | ||
#* '''-both''' | |||
#* '''-StaticPropPolys''' | |||
#* '''-TextureShadows''' | |||
#* '''-staticproplighting''' | |||
Static props will now give off the correct shadows. |
Revision as of 19:44, 20 November 2013
Lightmapped prop_static entities do not always get lit correctly. If this is the case, you will need to do the following:
- Turn on expert compiling.
- In the "Compile/run commands:" box, click on the $light_exe option.
- Add the following to the command parameters before "-game":
- -final
- -both
- -StaticPropPolys
- -TextureShadows
- -staticproplighting
Static props will now give off the correct shadows.