Skip to content

feat: add shore/beach transition gradient at water-land boundaries#1040

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

feat: add shore/beach transition gradient at water-land boundaries#1040
braedonsaunders merged 1 commit into
mainfrom
claude/fix-shallow-water-rendering-NO6zy

Conversation

@braedonsaunders

Copy link
Copy Markdown
Owner

Water edges now have a smooth gradient fade instead of an abrupt cutoff:

  • Detects all water cells that border non-water cells (shoreline)
  • Creates gradient quads extending from water edge onto land
  • Uses vertex colors with alpha: water-colored at edge, transparent inland
  • Shore transition width of 0.8 units for natural beach appearance
  • Properly disposes shore meshes on clear/rebuild

Water edges now have a smooth gradient fade instead of an abrupt cutoff:

- Detects all water cells that border non-water cells (shoreline)
- Creates gradient quads extending from water edge onto land
- Uses vertex colors with alpha: water-colored at edge, transparent inland
- Shore transition width of 0.8 units for natural beach appearance
- Properly disposes shore meshes on clear/rebuild
@braedonsaunders braedonsaunders merged commit 3aa41f2 into main Jan 26, 2026
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