I'm creating a top down 2D RTS game for educational purposes. Currently, I'm really just copying Starcraft's design/ideas. I've decided I should probably implement Fog Of War too.
- Areas currently explored (units are there) should be lit up.
- Areas previsouly explored (units were there) should be darker but show what things were there when your unit was there.
- Areas not explored (areas your units have never been to) should be completely black.
- There should be a gradient change from each type (e.g. explored to previously explored) See picture below.
Just the rough details: How would I do this?