{"repo":"tessarakkt/godot4-oceanfft","free":true,"listed":false,"github":"https://github.com/tessarakkt/godot4-oceanfft","clone":"git clone https://github.com/tessarakkt/godot4-oceanfft.git","description":"Tessendorf FFT based ocean waves and buoyancy in Godot 4 using compute shaders","language":"GDScript","stars":578,"topics":["game-development","godot","godot4","ocean","ocean-modelling","godot-engine"],"license":"MIT","category":"game-templates","readme_excerpt":"Godot 4 Ocean Addon [!NOTE] Requires Godot 4.3+ An early work in progress ocean addon for Godot 4 base on Jerry Tessendorf's FFT method for generating the waves, using compute shaders to generate the displacement map, and a quad tree based continuous distant dependant level of detail (CDLOD) system to dynamically manage the polygon density without popping or snapping between LOD levels. The GLSL shaders that generates the displacement map were ported into Godot 4 from this project. The underlying math is identical, but some things like binding points and how uniforms were accessed had to be changed to work in Godots compute shader API. Features - FFT ocean wave simulation, wave energy derived from Unified Spectrum - Integrated LOD for surface (CDLOD) - Basic buoyancy system - Basic underwater effect - Basic whitecap rendering - Surface shading: - Transparency - Reflections (provided by ReflectionProbe) - Refractions - Sub surface scattering Example Scene Controls Button Action --- --- / Toggle menu/free cam modes Mouse Motion Free cam look Right Click Free cam zoom W Free cam forwards (locked to horizontal plane) S Free cam backwards (locked to horizontal plane) A Free cam strafe left (locked to horizontal plane) D Free cam strafe right (locked to horizontal plane) Space Free cam up (locked to vertical axis) Ctrl Free cam down (locked to vertical axis) Shift Free cam sprint/move faster Todo List - Improve visual rendering - Splash particles - Improve refractions - Improve und","default_branch":null,"files":null,"tree":[],"storefront":"/r/tessarakkt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tessarakkt/godot4-oceanfft/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}