bevy_water
Dynamic water material (with waves) for Bevy.
Example
A fleet of pirate ships moving with the waves.
cargo run --release --example ocean

Pirate ship from asset pack CC0
Features
- Moving 3d waves (vertex height offset).
- Get the wave height using
get_wave_point
to dynamically move objects based on the water height.
- Tileable - allows for adding/removing tiles of water for endless ocean.
- Normals calculated based on wave height for lighting.
- Imports
bevy_pbr::*
shader for lighting/shadow support.
Ideas/Improvements
- [ ] Improve water color/texture.
- [ ] Heightmap support to adjust waves based on water depth.
- [ ] Mask texture to remove water from areas that shouldn't have water.
- [ ] Volumetic water below the surface.
- [ ] Dynamic depth buffer for objects partially below the surface (boats, peers). Render pass?
Versions
- Bevy 0.10:
bevy_water = "0.10"
- Bevy 0.9:
bevy_water = "0.9"
- Bevy 0.8:
bevy_water = "0.8"