Sitepeel

WebGPU Water

jeantimex.github.io/webgpu-water · 3D · Open source

Visit site

A real-time 3D water pool in the browser, built with WebGPU. Draw on the water to make ripples.

  1. What it is

    Port of Evan Wallace's well-known WebGL Water demo to WebGPU. You can draw ripples, drag a floating ball, rotate the camera, change the light and turn gravity on or off. It shows reflections, refractions, soft shadows and moving light patterns on the pool floor.

  2. Is it for you?

    Made for
    Graphics developers and the curious who want to see or study a WebGPU water simulation.
    You need
    A browser that supports WebGPU
    Price
    Open source (MIT)
  3. What you can do with it

    • Study how WebGPU shaders handle water and caustics
    • Compare a WebGPU port with the original WebGL code
    • Use as a reference for a 3D water effect

    Good to know: It is a demo with source code, not a drop-in component.

More like this

See all 227 resources