A plugin for Unity3D to add Fog of War to a game.
UPDATE :Supports SRP, please check the scene in the unitypackage to see how to setup in HDRP. (Same case with your own SRP)
Steps to use plugin
- Copy all contents of this repository in your Assets
- Add "Prefabs/Fog" to your scene
- Drag gameobject from scene that has to defog the area to "Center" slot in the added Fog object
- Add "Scripts/PreRenderCalls" to your rendering camera
- Drag "Fog" gameobject from scene to Fog slot in PreRenderCalls
- Play with settings to best suit your system budgets over quality
Enjoy...