Skip to content

cpl121/ocean-shader

Repository files navigation

🌊 Ocean Shader

Screenshot

A WebGL project using Three.js and React Three Fiber to simulate realistic ocean waves with custom GLSL shaders. Features dynamic transitions between calm sea and storm conditions, with animated vertex displacement and color blending based on elevation and alpha maps.

🚀 Technologies

📦 Installation

pnpm install
pnpm dev

Requires Node.js >= 20 and pnpm >= 8.14.0

About

Realistic ocean rendering in WebGL with Three.js, Gerstner waves, foam, and light interaction.

Topics

Resources

License

Stars

Watchers

Forks