This is a real-time ocean simulation in Unity. It uses a compute shader to run the simulation, and a tessellated surface shader to render the surface. The compute shader uses a fast-Fourier transformation(FFT) to generate a Gerstner wave height field buffer used by the surface shader for vertex displacement.
