Skip to content

Improve water waves, shore effects, and reflections - #127

Merged
vanlueckn merged 1 commit into
mainfrom
t3code/improve-water-shader-and-water-bodies
Sep 3, 2026
Merged

Improve water waves, shore effects, and reflections#127
vanlueckn merged 1 commit into
mainfrom
t3code/improve-water-shader-and-water-bodies

Conversation

@vanlueckn

Copy link
Copy Markdown
Collaborator

Summary

  • Add depth- and shoreline-aware water rendering data, including assumed depth profiles for surface-only elevation data.
  • Replace the basic wave shader with multi-octave directional waves, river flow, refraction, screen-space reflections, foam, spume, rain rings, and glitter.
  • Add depth prepasses to the main and route-editor cameras for water reflections.
  • Keep foliage alpha masks compatible with depth prepasses by removing the alpha-to-coverage switch.
  • Expand water mesh tests for shoreline distance, tile seams, assumed depth, and vertex color data.

Testing

  • Not run; changes were reviewed from the supplied diff only.
  • Recommended: run the Rust workspace test suite, including content and world-render unit tests.
  • Recommended: launch the app and route editor to verify water reflections, shore foam, rivers, foliage depth, and water-body rendering across tile seams.

- Add depth-aware refraction, reflections, foam, rain, and river flow
- Bake shoreline distance and assumed depth into water meshes
- Preserve depth prepasses and disable foliage alpha-to-coverage
@vanlueckn
vanlueckn merged commit dc76bef into main Sep 3, 2026
0 of 3 checks passed
@vanlueckn
vanlueckn deleted the t3code/improve-water-shader-and-water-bodies branch September 3, 2026 01:56
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.

1 participant