Fast Fourier Transform ocean rendering for Three.js
This demo shows a way to render realistic scenes in WebGL.
You can travel by using the keyboard and the environment can be selected. You can also explore the working of the scene by typing 'h'.
Live demo: https://jbouny.github.io/fft-ocean/
The screen space working is in fact simple:
A complete explanation can be find here: http://habib.wikidot.com/projected-grid-ocean-shader-full-html-version
So, results are here.
With a 64*64 grid:
With a 256*256 grid: