gfx-ocean icon indicating copy to clipboard operation
gfx-ocean copied to clipboard

Compute based ocean simulation with gfx_hal :ocean:

gfx_ocean

`gfx_hal` demo for simulating a FFT ocean using compute shaders.

Running :ocean:

  • Vulkan: cargo run --features vulkan
  • D3D12: cargo run --features dx12
  • Metal: cargo run --features metal

Camera Controls

  • Forwards/Backwards: W/S
  • Strafe Left/Right: A/D
  • Pitch/Yaw: Arrow Keys or Mouse

Running :ocean: on iOS

  • cd examples/ios/
  • Run xcodegen
  • Open generated Xcode project
  • Set signing team in Xcode
  • Run example on device