Difference between revisions of "Static Props show up black"

From Valve Developer Community
Jump to: navigation, search
m (Swapped italics for code tags.)
(Added Valve statement)
Line 1: Line 1:
After the Operation Wildfire update, many people have run into issues with static props not receiving lighting.
+
--[[User:Petethegoat|Petethegoat]] ([[User talk:Petethegoat|talk]]) 06:19, 20 February 2016 (UTC)After the Operation Wildfire update, many people have run into issues with static props not receiving lighting.
  
 
To solve this issue, go to the expert compile window, and select the $light_exe command. Then, in the 'Parameters' textbox, prepend <code>-StaticPropLighting</code>.
 
To solve this issue, go to the expert compile window, and select the $light_exe command. Then, in the 'Parameters' textbox, prepend <code>-StaticPropLighting</code>.
Line 5: Line 5:
  
 
This will fix your static props, and allow them to receive lighting correctly again.
 
This will fix your static props, and allow them to receive lighting correctly again.
 +
 +
 +
See also:
 +
* [https://www.mapcore.org/topic/19894-csgo-lighting-on-props-broken-since-wildfire-update-possible-fix/#comment-410536 Valve Statement]
 +
 +
"''We released an update to VRAD in the latest update. To get proper lighting on static props, you will need to run with -StaticPropLighting in VRAD, which sadly isn't updated (yet) in Hammer for the default, quick compile settings.  This flag will increase compile times, but to help with iteration we also included the ability to tweak the quality of the new lighting by adding -StaticPropSampleScale x parameter (16 = slow, high quality, 4 = default and 0.25 = fast, low quality) which is useful if you want to speed up compile times. Note that adding -final is the same as having -StaticPropLightingScale 16.''"

Revision as of 06:19, 20 February 2016

--Petethegoat (talk) 06:19, 20 February 2016 (UTC)After the Operation Wildfire update, many people have run into issues with static props not receiving lighting.

To solve this issue, go to the expert compile window, and select the $light_exe command. Then, in the 'Parameters' textbox, prepend -StaticPropLighting. For the default compilation settings, your parameters should be -StaticPropLighting -game $gamedir $path\$file.

This will fix your static props, and allow them to receive lighting correctly again.


See also:

"We released an update to VRAD in the latest update. To get proper lighting on static props, you will need to run with -StaticPropLighting in VRAD, which sadly isn't updated (yet) in Hammer for the default, quick compile settings. This flag will increase compile times, but to help with iteration we also included the ability to tweak the quality of the new lighting by adding -StaticPropSampleScale x parameter (16 = slow, high quality, 4 = default and 0.25 = fast, low quality) which is useful if you want to speed up compile times. Note that adding -final is the same as having -StaticPropLightingScale 16."