I Tried Simulating The Entire Ocean

460,867
0
Published 2023-08-31
Get a free 30 day trial and 20% off an annual plan at
brilliant.org/acerola ! #ad

Sea of Thieves boasts some very beautiful water, perhaps the best looking water in gaming history! But, how does it work? Did they even do it first? Can I do better with current hardware? Who knows!

Topics covered include: Fourier series, fourier transform, frequency and time domain, oceanographic spectra, discrete fourier transform, fast fourier transform, approximate subsurface scattering, simulating foam, leveraging multiple frequency bands

Check out Jump Trajectory's channel!
youtube.com/@JumpTrajectory

Support me on Patreon!
www.patreon.com/acerola_t

Socials:
Twitter: twitter.com/Acerola_t
Twitch: www.twitch.tv/acerola_t
Discord: discord.gg/FxGQvbfm6Y

Code: github.com/GarrettGunnell/Water

References:
There are way too many references please just go to the code link above and scroll to the bottom of the readme for all my references there

Music:
Afternoon Break - Persona 3 OST
This Mysterious Feeling - Persona 3 OST
Midori Eyes - Paradise Killer OST
During The Test - Persona 3 OST
Junes Theme - Persona 4 OST
New Game - WORLD OF HORROR OST
In A Moment's Time - Skullgirls OST
A New Frontier - VA-11 Hall-A OST
Climactic Reasoning - Danganronpa 2 OST
Every Day Is Night - VA-11 Hall-A OST
Those Who Dwell In The Shadows - VA-11 Hall-A OST
Empty Ocean - Loop Hero OST
Joy - Persona 3 OST
Underground Club - VA-11 Hall-A OST
Your Love Is A Drug - VA-11 Hall-A OST
GO!GO!STYLE - Paradise Killer OST
Like A Dream Come True - Persona 4 OST

Thanks for watching!

This video is dedicated to my friend, Alotryx.

#acerola #graphics #gamedev #unity3d #graphics #shaders

All Comments (21)
  • @eefflie
    99% of graphics programmers quit right before a 0.001% increase in performance
  • @otheusma
    I don't understand 95% of the things you say but I always find it fascinating.
  • @anonelusive340
    It’s kind of ironic how Fourier actually invented his famous formula to predict when/how the tides of the ocean would occur and now in recent times people rediscovered that it could be used to simulate the very same thing it was meant to describe all along
  • @jarred7721
    I've gotta hand it to you. You have some of the best shader content anywhere on the internet. It's digestible, entertaining, and informative.
  • @jbritain
    using Jack Quaid as the onscreen representation for Richard Feynman made me laugh harder than it had any right to
  • @filiformis
    I can't imagine how validating it must be to have your opinion backed by the Oceanographic Literature.
  • @charactername263
    You can apply almost the same FFT for waves for grass blowing in the wind without obvious tiling.
  • @TechJolt3d
    17:15 This image and the line "in truth, this is because our lighting model forgot how light works" Is making me laugh a lot
  • @CentaurionArcher
    FFT really is like magic. I spent like two months understanding it a few years ago and now I've completely forgotten
  • @Meoiswa
    It would be cool to have this as a live wallpaper, with the wave parameters slowly changing over time (or perhaps using weather data?) so the ocean looks somewhat different every time you get to see it.
  • @eeee69
    i just finished a class on numerical methods a few days ago and already i am getting flashbacks also the way you "removed" tiling at the end was really impressive
  • @E-dart
    Babe wake up, acerola released a new video
  • @mu4784
    Honestly, 2 things I very recently learned upon doing 3D are just how weak computers are compared to what I had in my mind (which was at the level of "just generate noise in real time and it will take 0.1% of CPU kek") and at the same time just how insanely optimized any game is and how many smart solutions have to be built in order to get gorgeous visuals while maintaining performance!
  • @PokiniGames
    I can not thank you enough for your contributions to the Unity shader coding scene. I have been wanting to add more water/flooded areas to my game, but have been avoiding it due to the performance impact/obvious tiling issues that existing water simulations on the marketplace have.
  • I think you should continue to use your 1660 to benchmark your projects to prevent the rebound effect on optimization caused by newer and faster hardware
  • @ceilidhDwy
    Excellent video as always! It looks so impressive in the end and honestly working with enterprise software (that takes 45 second to load a single page of 20 customer requests) I tend to forget that computers can do this kind of magic! Your videos kinda make me motivated towards programming On another note, that transition to sponsor is very good
  • @jacobcowan3599
    Another banger from the funniest technical artist on YouTube. You do such a great job telling a story and providing dense info in a super digestible manner. I am so ready for that principled BRDF video!
  • @kojumble
    i think this counts as the best follow up video of all time
  • @lbgstzockt8493
    Your videos became a lot easier to understand after going to college for a few semesters.