Is there a template or addon maybe? How would I go about making a fog of war like the rts games?
Develop games in your browser. Powerful, performant & highly capable.
You can try the template in C3: Simple lighting example