krautdev/GodotOceanWaves ? reverse-engineered prompt

Reverse engineered prompt

Build me a Godot 4.3 ocean demo that renders a realistic open sea using FFT based wave simulation, with the water surface animated from directional ocean wave spectra rather than simple Gerstner waves.

I want it to look good in real time, with a large ocean plane, LOD or clip map style scaling for distance, proper lighting, foam on breaking crests, and some sea spray particles near the roughest areas. It should also expose useful controls so I can tweak things like wave strength, wind, foam amount, water color, depth based color, and visibility from script while the game is running.

Please make sure I can query the water height at any world position for gameplay, so things like boats or characters can float on it. If you need to look up current Godot 4.3 docs online, go ahead. Keep it clean and practical, like something I can drop into a game project and use right away.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab