Skip to content

vijaythakkar/SimpleFogOfWar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Fog Of War

About

A Unity Extension for terrain occlusion through entity revealed global fog. Supports permanent revealing and an option to save and load its state (alpha).

How to use

It's pretty simple: Drop the FogOfWarInfluence Component onto entities that should reveal fog and configure their radius.
FogOfWarSystem is the main Component, where the basic settings can be configured. Size determines the area of fog (see editor gizmo as an indicator).

Notes

There are two modes of rendering: DirectSeeThrough and Projector. DirectSeeThrough is a little trick to save performance, Projector is the little less performant, but more accurate option. Just play with them to see their visual difference. Details for the rest of the settings can be found in their tooltips.

About

Unity3D - Easy to use Fog Of War

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 86.1%
  • GLSL 13.9%