静态模型全黑显示
< Zh
Jump to navigation
Jump to search
本页记录了游戏, 反恐精英:全球攻势,,该游戏已无法通过数字方式购买或下载
在此介绍,供历史和技术参考
在此介绍,供历史和技术参考
在野火大行动更新后,不少人发现了静态物体无法被正常渲染光照的问题。
要解决这个问题,必须在准备编译时先打开高级编译窗口并选中$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