[TUTORIAL] Fog Of War

You could either recreate from scracth or download an example implementation in post #29.

Cheers,