Zh/Static Props show up black: Difference between revisions
< Zh
Jump to navigation
Jump to search
mNo edit summary |
m (Multipage removal) |
||
(13 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar|title = 静态模型全黑显示}} | ||
|title=静态模型全黑显示 | {{Delisted|csgo}}{{CSGO topicon}}{{Source topicon}} | ||
| | |||
}} | |||
在野火大行动更新后,不少人发现了静态物体无法被正常渲染光照的问题。 | 在野火大行动更新后,不少人发现了静态物体无法被正常渲染光照的问题。 | ||
要解决这个问题,必须在准备编译时先打开高级编译窗口并选中{{Code|$light_exe}},然后在“Parameters”一栏前面加上{{Code|-StaticPropLighting}}。 | |||
还有一种方法是在默认编译窗口中参数一栏中输入{{Code|-StaticPropLighting -game $gamedir $path\$file}}。 | |||
当你完成上述的一切后,再编译并进入游戏时问题应该已经被解决了。 | 当你完成上述的一切后,再编译并进入游戏时问题应该已经被解决了。 | ||
== Valve声明 == | |||
{{Quote | |||
| text = We released an update to {{L|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 {{L|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'''. | |||
| sign = MagnarJ {{valve}} | |||
| source = [https://www.mapcore.org/topic/19894-csgo-lighting-on-props-broken-since-wildfire-update-possible-fix/#comment-410536 Mapcore] | |||
}} | |||
==== 从英文翻译成中文: ==== | |||
{{Quote | |||
| text = 我们在上一次更新时对{{L|VRAD}}也进行了更新,为了正常地使用VRAD进行静态模型光照,你需要在运行VRAD时加入 '''-StaticPropLighting''' 这一行参数,只可惜我们还没有更新以让{{L|Valve Hammer Editor|Hammer}}在快速编译选项中自动加入此参数。如果你想调整编译速度,使用 '''-StaticPropSampleScale x''' 参数(16 = 慢速,高质量, 4 = 默认,0.25 = 快速,低质量)这行参数可以调整光照的质量,同时也会影响编译的速度,另外 '''-final''' 和 '''-StaticPropLightingScale 16''' 这两行参数的效果是一样的。 | |||
| sign = MagnarJ {{valve}} | |||
| source = [https://www.mapcore.org/topic/19894-csgo-lighting-on-props-broken-since-wildfire-update-possible-fix/#comment-410536 Mapcore] | |||
}} | |||
{{ACategory|Lighting}} |
Latest revision as of 11:14, 12 July 2024

本页记录了游戏,
反恐精英:全球攻势,,该游戏已无法通过数字方式购买或下载
在此介绍,供历史和技术参考

在此介绍,供历史和技术参考
在野火大行动更新后,不少人发现了静态物体无法被正常渲染光照的问题。
要解决这个问题,必须在准备编译时先打开高级编译窗口并选中$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
