Func viscluster/zh

From Valve Developer Community
Jump to: navigation, search

它允许您手动告诉 VVIS 其体积内的 visleafs 都可以相互看到,应视为一个。这在大型开放区域很有用,否则这些区域的可见性计算将需要非常长时间才能完成。使用不当可能会对游戏性能造成昂贵的操作,损失性能。它应该使用tools\toolstrigger作为该实体的纹理。

Note.png注意:This is an internal entity. When the map is compiled by VBSP it is processed and then removed: it does not exist when the map is running.
Note.png注意:该实体实际上并没有改变地图中叶子的位置或数量。Hammer 的 portal 文件会发生这种情况,但是mat_leafvis之类的命令显示叶子仍然完好无损。
Warning.png警告:笔刷不应穿过水材质areaportal 的表面。如果确实需要在水上使用,请将笔刷水平放在一侧的水面上,然后在另一侧创建第二个单独的func_viscluster。永远不要让func_viscluster笔刷穿过水面,否则会发生非常奇怪的事情。

另请参阅