logo80lv
Articlesclick_arrow
Research
Talentsclick_arrow
Events
Workshops
Aboutclick_arrow
profile_loginLogIn

Real-Time Physically Accurate Ocean Surface Simulation In Unity

Check out Saulius Vincevičius' project and get the code.

For his bachelor thesis, Saulius Vincevičius researched the development and implementation of a real-time ocean simulation model, aiming to address some key challenges in the field, such as removing tiling artifacts, adapting to various weather conditions from calm to stormy, and ensuring efficient rendering on both low- and high-end devices.

This project resulted in a Fourier transform-based ocean model that uses real-world data to accurately simulate different weather conditions. It also tackles the tiling issue with multiple cascades, making the ocean surface visually smoother. The model, including a fast Fourier transform algorithm, is implemented on a GPU for efficient performance across various devices.

According to the developer, it runs at 1.65 ms on an NVIDIA GeForce RTX 4070 with a texture size of 256 and 3 cascades. This is fast enough for real-time performance and produces fairly realistic results. Additionally, there's still room for optimization, such as compacting the FFT calculations.

Saulius uploaded the code for this project on GitHub so you can learn, modify, and use it in your own work as you wish. Grab it here and join our 80 Level Talent platform and our new Discord server, follow us on InstagramTwitterLinkedInTelegramTikTok, and Threads, where we share breakdowns, the latest news, awesome artworks, and more.

Join discussion

Comments 0

    You might also like

    We need your consent

    We use cookies on this website to make your browsing experience better. By using the site you agree to our use of cookies.Learn more