keyserjaya / FogOfWar

A plugin for Unity3D to add Fog of War to a game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fog of War

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)

IMAGE ALT TEXT HERE


Steps to use plugin
  1. Copy all contents of this repository in your Assets
  2. Add "Prefabs/Fog" to your scene
  3. Drag gameobject from scene that has to defog the area to "Center" slot in the added Fog object
  4. Add "Scripts/PreRenderCalls" to your rendering camera
  5. Drag "Fog" gameobject from scene to Fog slot in PreRenderCalls
  6. Play with settings to best suit your system budgets over quality

Enjoy...

About

A plugin for Unity3D to add Fog of War to a game.


Languages

Language:C# 55.0%Language:ShaderLab 30.0%Language:GLSL 15.0%