This composant allows you to simulate ocean waves in realtime.
The rendering is optimised by using the Inverse Fast Fourrier Transform algorithm.
This allows you to change, on the fly, parameters like the wind force, the viscosity of the waves, the field size, etc.
All the math behind was strongly inspired by the creator of OREON ENGINE thanks to his share on the subject:
- Ocean waves simulation with Fast Fourier transform - YouTube
- OpenGL FFT Ocean Water Tutorial #1 | IFFT Equation - YouTube
- GitHub - fynnfluegge/oreon-engine: OpenGL/Vulkan Java 3D Engine
For more theorical infos, check the original paper writen by Jerry Tessendorf:
FFTOcean.tox (23.8 KB)