• Actor controlling the fog.• Component controlling the interaction with the fog. • Material for the fog and the post-process effect. • Precise and optimized visibility checks. • Pixel perfect fog. • Options to customize a lot of different aspects of the fog.
*演员控制雾。*控制与雾的相互作用的组件。 *雾的材料和后处理效果。 *精确和优化的可见性检查。 *像素完美雾。 *选项自定义雾的很多不同方面。
Video: https://www.youtube.com/watch?v=ovsSg20w6iIEasy to implement Fog of War system for a Top Down game. Fog of War uses blueprints and post-process materials to create an effect known commonly in video games as a fog of war. In addition to simply displaying or hiding actors in sight, in allows for a clear display of players range of vision. All aspects of the fog such as range, angle of the vision cone and visibility of all objects can be easily adjusted with variables. Fog of War is a key element of many top down games, and now it takes only one minute to implement. To use the system you simply need to put the fog drawing actor in your world and add the fog controlling component to any actor that interacts with the fog (either by blocking vision or by changing its own visibility). Currently only one source of vision is supported (you can’t combine vision from many sources, but you can toggle between them).Update 1.1: -Updated to UE 4.15. -Round objects (like columns/pillars) can now cast proper shadows. -Added more comments and cleaned up the code.
短片: https://www.youtube.com/watch?v=ovsSg20w6iI易于实现雾的战争系统为一个自上而下的游戏. 战争迷雾使用蓝图和后处理材料来创建视频游戏中常见的战争迷雾效果。 除了简单地显示或隐藏视线中的actor之外,in还允许清晰地显示玩家的视野范围。 雾的所有方面,如范围,视锥的角度和所有对象的可见性可以很容易地调整变量。 战争迷雾是许多自上而下游戏的关键元素,现在只需一分钟即可实现。 要使用该系统,您只需将雾绘制actor放入您的世界中,并将雾控制组件添加到与雾交互的任何actor中(通过阻止视觉或更改其自己的可见性)。 目前只支持一个视觉源(您不能组合来自许多来源的视觉,但您可以在它们之间切换)。更新1.1:-更新到UE4.15。 -圆形物体(如柱子/柱子)现在可以投射适当的阴影。 -添加了更多注释并清理了代码。
声明:本站所有资源都是由站长从网络上收集而来,如若本站内容侵犯了原著者的合法权益,可联系站长删除。
评论(0)