Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity Ocean FFT

Overview

Screenshot of the running application showing a visible water tile.

This project is an implementation of an FFT-based ocean simulation in Unity. It features an empirical frequency spectrum (JONSWAP) and Donelan-Banner directional spread with a swell factor. The project is implemented using the Universal Render Pipeline (URP), the UI Toolkit, and compute shaders.

Requirements

The project was made using Unity version 6000.2.9f1 and tested on a PC with the Windows 11 operating system.
A single frame takes approximately 2.1 ms to render on a PC equipped with an AMD Ryzen 7 9800X3D and an Nvidia GeForce RTX 5070 Ti, running in the Editor with the Game tab set to a 3840x2160 (4K) resolution.

Literature

[1] D. Algis, B. Bramas, E. Darles, and L. Aveneau, "Arc Blanc: a real time ocean simulation framework," Journal of Computer Graphics Techniques, vol. 14, no. 01, pp. 70-115, Mar. 2025. Accessed: May 28, 2025. [Online]. Available: https://jcgt.org/published/0014/01/05/paper.pdf.

[2] J. Tessendorf, "Simulating ocean water," Simulating Nature: Realistic and Interactive Techniques. SIGGRAPH, vol. 1, pp. 1-26, 2001. Accessed: Sep. 3, 2025. [Online]. Available: https://people.computing.clemson.edu/~jtessen/reports/papers_files/coursenotes2004.pdf.

[3] K. Hasselmann et al., "Measurements of wind-wave growth and swell decay during the Joint North Sea Wave Project (JONSWAP)," Deut. Hydrogr. Z., vol. 8, pp. 1-95, Jan. 1973. Accessed: Mar. 15, 2026. [Online]. Available: https://www.researchgate.net/publication/256197895_Measurements_of_wind-wave_growth_and_swell_decay_during_the_Joint_North_Sea_Wave_Project_JONSWAP.

[4] C. J. Horvath, "Empirical directional wave spectra for computer graphics," in Proceedings of the 2015 Digital Production Symposium, ser. DigiPro '15, New York, NY, USA: Association for Computing Machinery, 2015, pp. 29-39, ISBN: 9781450337182. DOI: 10.1145/2791261.2791267. Accessed: Oct. 7, 2025. [Online]. Available: https://doi.org/10.1145/2791261.2791267.

About

Implementation of FFT-based ocean waves simulation in Unity.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages