This package brings the classic fog of war mechanic to Unity, automatically tracking map exploration and unit visibility. Perfect for real-time strategy (RTS) games, top-down games, and 2D projects.
The fog of war creates three distinct visibility states:
- Hidden areas that have never been discovered by any vision source
- Explored regions that were previously discovered but aren't currently in vision range
- Visible areas currently within your units' vision range
Designed for Unity's Universal Render Pipeline, the system works with both orthographic and perspective camera projection. You control when the fog refreshes - choose automatic refresh with a custom interval for real-time gameplay, or manual refresh for turn-based mechanics.
Fully customizable visual appearance using custom textures and colors for both unexplored and explored fog. The package includes a UI map fog overlay component that works with your custom minimaps, along with an API for saving and restoring exploration progress across game sessions.