← lab

Wave control panel

Drag sliders to alter the Gerstner-wave parameters in real time. The shader sums four waves at varying direction, wavelength, steepness, and speed. Sun direction drives both the specular highlight and the fresnel reflection off the sky.

loading shader…

Wave steepness

Animation

Sun

Same shader powers the ocean theme on this site — toggle it from the footer to see it as a full-screen background.