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.
Preserve the architecture
Keep these responsibilities separate:
- Let deterministic CPU perception own ranges, obstacle intersections, and gameplay visibility.
- Encode the player's angular visible distances into one fixed-size lookup texture.
- Let one full-screen shader turn that lookup into soft radial and wall-aware fog.
- Let gameplay consume perception results directly; never infer combat truth from fog pixels.
Read mechanics.md before implementing or changing the algorithm. It records the proven obstacle model, shader composition, calibrated values, state rules, enemy behavior, lighting constraints, and telemetry.