Skip to content

Three.js Water Pro

Real-time, physically-based ocean rendering for Three.js WebGPU

Why Three.js Water Pro?

This library provides a complete ocean rendering solution built specifically for Three.js WebGPU. Unlike traditional approaches that rely on noise-based wave approximations, Three.js Water Pro uses FFT (Fast Fourier Transform) to generate physically accurate ocean waves based on real oceanographic research.

Key Features

  • Multi-cascade FFT simulation - Two FFT frequency bands (waves, ripples) plus analytical Gerstner swells combine for detail at all distances
  • JONSWAP spectrum - Scientifically accurate wave generation based on wind conditions
  • Subsurface scattering - Light transmission through wave crests for that characteristic ocean glow
  • Foam rendering - Jacobian-based wave breaking detection plus procedural surface foam
  • Infinite water - Clipmap geometry with LOD for seamless ocean rendering to the horizon
  • Full underwater support - Dive below the surface with realistic refraction and caustics

Requirements

  • Three.js r181.0 or later (WebGPU build)
  • WebGPU-capable browser (Chrome 113+, Edge 113+, or Firefox Nightly)
  • ES2020+ module support

License

See license agreement here

Commercial License - All Rights Reserved.