How does ocean waves simulation with Fast Fourier transform work?
Source code:
https://github.com/gasgiant/FFT-Ocean
Music:
https://soundcloud.com/igor_vaiman
Catlike Coding on Gerstner waves:
https://catlikecoding.com/unity/tutorials/flow/waves/
3Blue1Brown on Euler's formula:
https://www.youtube.com/watch?v=v0YEaeIClKY
3Blue1Brown on Fourier transform:
https://www.youtube.com/watch?v=spUNpyF58BY
References:
https://github.com/gasgiant/FFT-Ocean/blob/main/references.md
0:00 Intro
1:02 Waves Math
2:52 Fast Fourier Transform
5:36 Oceanographic Spectra
9:24 Algorithm Walkthrough
11:04 Cascades
12:25 Height Sampling
13:53 Outro
#unity #shaders #water