implement-fog-of-war
Installation
SKILL.md
Implement Fog of War
Build fog of war as a shared perception system with a restrained presentation layer.
When to use this skill
- Implementing obstacle-aware fog of war and visibility masks for orthographic or isometric Three.js action games.
- Building or tuning the player's angular visibility lookup texture and the full-screen soft radial and wall-aware fog shader.
- Debugging fog shader artifacts such as visible spokes, hard wall edges, or an obvious angle seam.
- Wiring gameplay perception truth (hidden-enemy targeting, aim selection, HUD counts, telegraphs) so it never leaks through fog pixels.
- Integrating fog with scene lifecycle and state — menus, inventory, review/capture modes, paused states, and stage transitions — and validating with deterministic perception/render-budget tests.
- Not for general Three.js game architecture, rendering, or physics unrelated to fog/perception — route that to this repo's
web-game-developmentpack instead.
Preserve the architecture
Keep these responsibilities separate: