Skip to content

fix: volumetric fog positioning and fog of war with post-processing d…#1258

Merged
braedonsaunders merged 1 commit into
mainfrom
claude/fix-fog-of-war-positioning-0VptG
Feb 3, 2026
Merged

fix: volumetric fog positioning and fog of war with post-processing d…#1258
braedonsaunders merged 1 commit into
mainfrom
claude/fix-fog-of-war-positioning-0VptG

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner

…isabled

  1. Fix 20% south shift when switching to high graphics quality:

    • Volumetric fog now samples visibility at 30% along the ray from camera to surface, instead of only at the surface
    • This corrects the viewing angle bias that caused fog boundaries to appear shifted southward with the RTS camera angle
  2. Fix fog of war not rendering when post-processing is disabled:

    • When post-processing is toggled off but fog of war is needed for the game, create a minimal render pipeline with only fog of war enabled
    • Fog of war requires the depth buffer and post-processing pipeline for world position reconstruction

https://claude.ai/code/session_01EapnCYk6fojgAW339F4Dfh

…isabled

1. Fix 20% south shift when switching to high graphics quality:
   - Volumetric fog now samples visibility at 30% along the ray from camera
     to surface, instead of only at the surface
   - This corrects the viewing angle bias that caused fog boundaries to
     appear shifted southward with the RTS camera angle

2. Fix fog of war not rendering when post-processing is disabled:
   - When post-processing is toggled off but fog of war is needed for the game,
     create a minimal render pipeline with only fog of war enabled
   - Fog of war requires the depth buffer and post-processing pipeline for
     world position reconstruction

https://claude.ai/code/session_01EapnCYk6fojgAW339F4Dfh
@braedonsaunders braedonsaunders merged commit 9563aee into main Feb 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants