This is a performant GPU Fog Of War solution for Mobas, RTS, Adventure games and more.
This is a paid asset, but now you can download for FREE, but please remember this package is provided only for learning purposes or to be able to test before buying the product, NOT FOR COMMERCIAL PURPOSES.
Detail this asset from Unity Store: Original Link
Simple Fog Of War v1.1
Download NowIt is easily implemented and customized.
This requires a dedicated GPU to work efficiently!
It works with URP, Builtin-RP and HDRP
Features:
-Custom Fog color and intensity
-Hide units in the fog
-Give multiple units vision and adjust the vision radius
-Dynamically add and move vision blocking objects
-Copy the resulting mask to a texture for if you want to write a custom fog shader or use it for something else.
Notes:
-The readme details a guide on how to set up the fog of war.
You can follow me on twitter to get updates about projects I am currently working on :)