A real-time ocean surface shader built in C++ and OpenGL, using the Gerstner wave model to animate a physically plausible water surface. Vertex displacement builds the wave geometry directly on the GPU, and per-fragment lighting picks out the resulting crests and troughs.
Tessellation and geometry shaders drive the surface detail. Full source and build instructions are on GitHub.