Table of Contents

Installation


Import the Package

  1. Open Window > Package Manager.
  2. Find Pixel-Perfect Fog Of War under My Assets.
  3. Click Download & Import.
Note

Updating from an older version? If you hit import errors, delete FogOfWar/Shaders/Resources and re-import. This applies when updating to 3.4 (the appearance shaders were merged into a single shader) as well as when updating from 2.x to 3.x.

Install Render Pipeline Support

The package ships with separate sub-packages for each pipeline. Import the one that matches your project:

  • URP — import FogOfWar/FOW-URP
  • HDRP — import FogOfWar/FOW-HDRP

Once you have imported the package for your pipeline, you can delete the Built-In (legacy) RP folder if you are not using the Built-In pipeline.

Full per-pipeline setup is covered in Render Pipeline Setup.

Install Required Unity Packages

Pixel-Perfect Fog Of War uses Unity's high-performance packages for line-of-sight calculations. Install all three from the Package Manager (Unity Registry):

  • Burst
  • Collections
  • Mathematics

Next Steps

You're ready to set up the system: