Skip to content

fix: implement shallow water rendering with distinct visuals and boun…#1037

Merged
braedonsaunders merged 1 commit into
mainfrom
claude/fix-shallow-water-rendering-NO6zy
Jan 26, 2026
Merged

fix: implement shallow water rendering with distinct visuals and boun…#1037
braedonsaunders merged 1 commit into
mainfrom
claude/fix-shallow-water-rendering-NO6zy

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner

…dary blending

Shallow water was not rendering because flood fill grouped shallow and deep water together, then picked color based on majority vote. This fix:

  • Separates shallow and deep water into distinct flood fill regions
  • Adds unique visuals for shallow water: lighter cyan color (0x40a0c0), calmer waves (40% distortion), and 75% opacity transparency
  • Implements boundary blending: shallow water extends slightly and renders at a higher layer with transparency for smooth transitions to deep water
  • Deep water remains opaque with darker blue (0x004488) and full distortion

…dary blending

Shallow water was not rendering because flood fill grouped shallow and deep
water together, then picked color based on majority vote. This fix:

- Separates shallow and deep water into distinct flood fill regions
- Adds unique visuals for shallow water: lighter cyan color (0x40a0c0),
  calmer waves (40% distortion), and 75% opacity transparency
- Implements boundary blending: shallow water extends slightly and renders
  at a higher layer with transparency for smooth transitions to deep water
- Deep water remains opaque with darker blue (0x004488) and full distortion
@braedonsaunders braedonsaunders merged commit 611c9c4 into main Jan 26, 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