Fog of war looks simple until you need several moving units, explored memory, and a mask that stays cheap to update. I packaged my solution as a Godot 4 addon.
Drop FogOfWar over the map and attach a FogRevealer to anything that can see. Each revealer owns its radius and registers itself. The plugin handles live line-of-sight, permanent exploration, fade-back trails, and solid or scrolling-smoke fog. The demo also includes an experimental LBM fluid fog, shown above beside the two shipped styles.
The demo includes a 120-unit stress map. You can play it in the browser, download the free Windows build, or get the plugin source here:
This looks good on the face of it. I struggled recently with a permanent ‘fog of war’ so the areas cleared remained cleared. Does yours cope with that?
EDIT: You already answered my question!
Line-of-sight, persistent exploration, and timed fade-trail memory modes.
Well I should have read the git page first, sorry. Ignore me. This looks really good!