Fog of War for games

Not too long ago, I ran into a challenge of implementing Fog of War system for my game, so I wrote an article on how to implement it in Three.js:
https://medium.com/@travnick/fog-of-war-282c8335a355?source=friends_link&sk=6586defa6dcbee8e3827696dea9dfda4


Hopefully some of you might find this useful. Questions and comments are welcome.

7 Likes

Good article! :+1:

1 Like

OMG, Chess with Fog-of-War! That would be an amazing game, where you can only see squares that your pieces can move to. :exploding_head:

2 Likes

Haha, that’s kind of what my game is :thinking:

…that is, if chess pieces had talent trees and could level up. Yup, pretty much the same as chess! :wink:

1 Like