Unity插件 – 战争迷雾效果 Pixel-Perfect Fog Of War

2024.01.31 Updated version

File size: 14.6 MB

Version: 2.0.4

Original Unity Version: 2020.3.26 or higher

Pixel-Perfect Fog of war is the ultimate fog of war tool.

Unlike most solutions to this problem, Pixel-Perfect Fog Of War does not need to render textures to run, and all calculations are done on the GPU. This means the system is extremely fast and produces pixel-perfect results.

leverages image effects, URP custom rendering capabilities, and the HDRP volume framework. The tool is compatible with your existing projects and your materials do not require custom shaders.

This package has the ability to hide certain game objects in the fog of war. The package

allows you to customize your fog of war with 4 types of fog (see screenshot), allowing you to adjust the display viewing angle and field radius, change the color of the fog of war, and the option to display the top of objects by adding corners (see screenshot).

This project uses both the C#Jobs system and the Burst compiler to ensure optimal performance.