Zh/Static Props show up black: Difference between revisions
< Zh
Jump to navigation
Jump to search
mNo edit summary |
m (→阀门声明) |
||
Line 8: | Line 8: | ||
当你完成上述的一切后,再编译并进入游戏时问题应该已经被解决了。 | 当你完成上述的一切后,再编译并进入游戏时问题应该已经被解决了。 | ||
== | == Valve声明 == | ||
{{Quote | {{Quote | ||
| text = 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 [[Valve Hammer Editor|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'''. | | text = 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 [[Valve Hammer Editor|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 00:52, 5 April 2023
在野火大行动更新后,不少人发现了静态物体无法被正常渲染光照的问题。
要解决这个问题,必须在准备编译时先打开高级编译窗口并选中$light_exe,然后在“Parameters”一栏前面加上-StaticPropLighting。
还有一种方法是在默认编译窗口中参数一栏中输入-StaticPropLighting -game $gamedir $path\$file。
当你完成上述的一切后,再编译并进入游戏时问题应该已经被解决了。
Valve声明
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.
— MagnarJ
, Mapcore
