An ocean simulation written in Rust with Bevy and Wgpu.
- Ocean height displacement calculated using an inverse FFT on the JONSWAP spectrum
- All computation done in parallel on the gpu
- Realistic lighting model with subsurface scattering
- Foam accumulated based on water turbulence