how water works in Sea of Thieves

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

Комментарии • 644

  • @StylizedStation
    @StylizedStation  2 года назад +240

    Resistance is futile: patreon.com/stylizedstation

    • @FormalSnake
      @FormalSnake 2 года назад

      wait... does this mean ur bad at literature

    • @themutatednut
      @themutatednut 2 года назад +1

      i bet Saitama in the thumbnail was one of the reasons that this got so many views 🤣

    • @linden6190
      @linden6190 2 года назад +1

      Why you have the square space logo

  • @papermartin879
    @papermartin879 2 года назад +3056

    for the record sea of thieves doesn't just use a bunch of stacked gertsner waves, it uses a tessendorf simulation, which is capable among other things of generating a full spectrum of waves (in the hundreds)
    There's a talk called "the technical art of sea of thieves" which mentions tessendorf simulation, and also goes over the extra steps they took to make it stylized, and a video called "Ocean waves simulation with fast fourier transform" by Jump Trajectory, which talks about a Unity implementation

    • @bitmammothOG
      @bitmammothOG 2 года назад +25

      Thats really great information thank you!

    • @JMPDev
      @JMPDev 2 года назад +345

      Why bother properly researching the sole focus of your video when you can just assume and present some general solutions.

    • @ainursery
      @ainursery 2 года назад +5

      This.

    • @syaoranli7869
      @syaoranli7869 2 года назад +5

      Where can I learn more about understanding the math behind a tessendorf simulation?

    • @papermartin879
      @papermartin879 2 года назад +12

      @@syaoranli7869 The unity implementation I mentionned is a pretty good place to start, and it has a bunch of link to various papers on the subject in its description, including the original one by jerry tessendorf

  • @bluesoman
    @bluesoman 2 года назад +1352

    You skipped over the actually challenging part of this system: making the waves have physics(cpu) that match their displaced vertices(gpu).

    • @CharlieToof
      @CharlieToof 2 года назад +57

      they dont match, and it create a lot of problems on the game, problems that they said they're unable to fix.

    • @caseym6272
      @caseym6272 2 года назад +89

      @@CharlieToof part of the reason players sometimes go towards the top of the water, and then get shot down to the bottom. Or why you can't grab water from the bow of a scoon, even if it's touching the wave. It still registers as a single plane, it just looks different with the player, and environment.

    • @CharlieToof
      @CharlieToof 2 года назад +10

      ​@@caseym6272 As a player, they cant deal with shooting in the sea and with stability, a lot of wrong hitreg and really strange position bugs (not just sometimes.. EVERYTIMES), this tecnics it is not well optimized and rare is not able to make it work for an action adventure game.

    • @QQnowQQlater
      @QQnowQQlater 2 года назад +1

      mesh deformation.

    • @Neek1154
      @Neek1154 2 года назад +11

      If you're talking about buoyancy, it's simpler than you would think. The CPU side has a collection of points in worldspace and it just queries the GPU for the ocean height and flow direction at all these points. Then the CPU can decide how to act on this. (for example by pushing the object upwards with a certain amount of force if point is below water).

  • @lifeartstudios6207
    @lifeartstudios6207 2 года назад +603

    sea of thieves water does even more than what you've talked about here. As far as I am aware, it is the most technically involved water in a game even to this day. There are a lot of videos on sea of thieves break downs for their tech art and it's astounding all the things they were able to pull off with unreal engine 4.8.

    • @WelshGuitarDude
      @WelshGuitarDude 2 года назад +51

      It's not the most technically involved. It uses an iFFT algorithm with a Philips ocean spectrum model, but there are better ones out there now like JONSWAP with more real world analysis. Other games have used this, Assassins Creed many years ago for example. Sea of Thieves is better looking due to all the added visual effects and the advantage of modern lighting/rendering features that A.C did not have but the waves themselves both use the same algorithm. The algorithm (for ocean rendering) has been around since 1995. And many games use it for oceans because it turns a O(n^2) using gerstner to a O(nlogn) using a custom spectra which is a huge performance gain. Subnautica also uses it and you can dotpeek their source code and see the iFFT which they made CPU bound which i would not recommend as it works super well on a GPU. The 1995 Tessendorf paper explains it all - its like the bible of ocean rendering.
      The nature of the algorithm is also deterministic making it seed-able so it can sync on a network very easily using a delta time.

    • @jeffduckworth3714
      @jeffduckworth3714 2 года назад +15

      @Futso Unstable can run rare/epic graphics with an incredibly smooth experience. The game is heavily optmised.

    • @PastPositive
      @PastPositive 2 года назад +18

      @Futso Been playing for years, I have never seen a glitch, and my game has never crashed, the map is massive, with really good graphics. The game is heavily optimized and is not buggy nor unstable.

    • @likepick
      @likepick 2 года назад +9

      @Florida Man we acting like any other game never had a glitch happen

    • @kauanjos3199
      @kauanjos3199 2 года назад +2

      @Futso it's not a buggy mess bruh

  • @DatGuyGLK
    @DatGuyGLK 2 года назад +2950

    man your videos are good but those outros kill the ears

    • @alessiokepeshchuk664
      @alessiokepeshchuk664 2 года назад +11

      Wdym?

    • @ZahaX
      @ZahaX 2 года назад +323

      @@alessiokepeshchuk664 The sound is much louder than the rest of the video

    • @wordydird
      @wordydird 2 года назад +186

      I know it. Watching it late at night when I couldn't sleep and boy that outro jolted me up real fast. Along with my husband.
      Very jarring

    • @moonshot3159
      @moonshot3159 2 года назад +59

      Yup tone down your outro man

    • @wzl717
      @wzl717 2 года назад +7

      It’s not that loud chill out

  • @Bobb_with_2_Bs
    @Bobb_with_2_Bs 2 года назад +38

    Rare actually killed the water effects in their game. I still wonder to this day how it doesn't clip through the boat. Like seriously....I have never seen such amazing water mechanics in a game that doesn't clip through something as simple as a dock, yet alone a moving player driven vehicle. It will without a doubt stand the test of time

    • @BusinessWolf1
      @BusinessWolf1 Год назад +5

      That's not even hard to do lol they just mask out the water with an image with a shape on it, the shape of the boat's edge loop at the water line.

  • @nightman2912
    @nightman2912 2 года назад +19

    I absolutely love the water in sea of thieves, Sometimes I login just to chill on the boat while studying. The colors and the movement is stunning.

  • @falk.
    @falk. 2 года назад +64

    I would love to see some in-depth videos that dont have to be so fancy edited and short but are very informative. Because this topic for example only scratches the surface!

    • @Tertion
      @Tertion 2 года назад

      Nice pun lol

    • @papermartin879
      @papermartin879 2 года назад +17

      yes, it doesn't even mention tessendorf simulations, which is what Sea of Thieves *actually* uses

    • @ultracapitalistutopia3550
      @ultracapitalistutopia3550 2 года назад

      Search catlike waves

    • @papermartin879
      @papermartin879 2 года назад

      @@ultracapitalistutopia3550 catlike coding's tutorial only covers gertsner waves and how to stack a few of them, it's not a full on tessendorf sim like in Sea of Thieves

    • @ultracapitalistutopia3550
      @ultracapitalistutopia3550 2 года назад +1

      @@papermartin879 There are so many to unpack in the seawave effect. Catlike at least gives you an in-depth explanation of the implementation of Gerstner, unlike this video.

  • @NewOxygen
    @NewOxygen 2 года назад +19

    Honestly I think the best feature of the waves is how the sun shines through the tall ones from one side, would love to see how that works as it looks so effective

  • @dyslexicsoap7605
    @dyslexicsoap7605 2 года назад +145

    Sick video, I never really appreciated the waves in this game until now for some reason.
    Also, just some unsolicited criticism: I found the chip tune sound effects to be a little too loud (and maybe shrill), but I might be in the minority there.

    • @Austin-hm6qq
      @Austin-hm6qq 2 года назад +13

      You're not in the minority

    • @enigma8301
      @enigma8301 2 года назад +8

      I agree, please relax the sound effects a little bit! But very good video

    • @llefty
      @llefty 2 года назад +4

      Agreed about the sound effects and outro music, both are way too loud and the sound effects could be changed altogether tbh. They are shrill

    • @lycoriserom7213
      @lycoriserom7213 2 года назад

      Strange, they sound normal in my K240R. Is that because of the equipment?

    • @johncenashi5117
      @johncenashi5117 2 года назад

      @@lycoriserom7213 i had no problems at all with the tunes in my normal headset. Didnt even think about them tbh.

  • @Fabio-zc7bs
    @Fabio-zc7bs 2 года назад +84

    I've been working with materials in UE for a while now and water in general was one of the hardest parts when talking about Environment Art. It's hard to make an optimized, good looking and modular water shader. You first have to make the opacity interactions between the shore, middle part and deep water, then work to make a good water foam (stylized or not), then there are the waves that may change depending on how you want to implement water in your game. The type of water also matter. If you are creating an ocean, a river or a lake, for example, you may want to change how the normal map behave, how the waves behave and all. On top of that there is also the connections between these types of water. If your river is going to end up in an ocean, it's tough to make it look smooth. Add shader complexity on this and you have a really tough shader to take care. And I'm not even talking about buoyancy and other things that a programmer would do.
    Water Shader was a challenge for me 6 months ago. My stylized water is still not perfect but I added some automatic interactions on that (like adding flowing foam when the water plane is bent to the ground like a waterfall). The problem is that the shader is só damn big that if I work on other shaders and need to come back to it again, I would take almost an entire day just to understand what's is happening there, even though I commented absolutely everything and divided the shader in material functions.

    • @robocu4
      @robocu4 2 года назад +4

      Ahhh yesss the curse of navigating several thousand lines of code lmao

    • @Rekkuza-eu6sp
      @Rekkuza-eu6sp 2 года назад +1

      Repent and follow Jesus my friend! Repenting doesn't mean confessing your sins to others, but to stop doing them altogether. Belief in Messiah alone is not enough to get you into heaven - Matthew 7:21-23, John 3:3, John 3:36 (ESV is the best translation for John 3:36). Contemplate how the Roman empire fulfilled the role of the beast from the sea in Revelation 13. Revelation 17 confirms that it is in fact Rome. From this we can conclude that A) Jesus is the Son of God and can predict the future or make it happen, B) The world leaders/nations/governments etc have been conspiring together for the last 3000+ years to accomplish the religion of the Israelites C) History as we know it is fake. You don't really need to speculate though because you can start a relationship with God and have proof. Call on the name of Jesus and pray for Him to intervene in your life. - Revelation 3:20
      Revelation has been unfolding since Jesus died. The Popes have claimed to be equal to God and set themselves in Jesus' place (antichrist(s)). Vatican City (Which is its own nation BTW) have risen up to fulfill the role of the false prophet
      Regarding the man of lawlessness or antichrist, 2 Thessalonians 2:4 says “Who opposes and exalts himself above all that is called God, or that is worshipped; so that he as God sits in the temple of God, showing himself that he is God.” The restrainer that the Apostle Paul was referring to in 2 Thessalonians was the Western Roman Emperor, who held back the Popes from taking power. Once the last Western Roman Emperor was removed from power in 476 AD, the Pope was given civil and ecclesiastic authority over Rome; healing the deadly head wound of the beast in Revelation 13, as they took the Emperors title of Pontifex Maximus, leader of the church and state.
      “We may according to the fullness of our power, dispose of the law and dispense above the law. Those whom the Pope of Rome doth separate, it is not a man that separates them but God. For the Pope holdeth place on earth, not simply of a man but of the true God.” (Source: “Decretals of Gregory IX,” Book 1, chapter 3.)
      Pope Pius V blasphemed, “The Pope and God are the same, so he has all power in Heaven and earth.” (Source: Pope Pius V, quoted in Barclay, Cities Petrus Bertanous Chapter XXVII: 218.)
      Pope Leo XIII declared, “We hold upon this earth the place of God Almighty.” (Source: Pope Leo XIII Encyclical Letter, June 20, 1894)
      The antichrist sea beast of Revelation points to the office of the papacy, the Popes of Rome, who controlled the Roman beast for 1,260 years, from 538-1798 AD.
      Daniel 7:25 says “And he shall speak great words against the most High, and shall wear out the saints of the most High, and think to change times and laws: and they shall be given into his hand until a time and times and the dividing of time.” The Popes of Rome spoke against Elohim and proclaimed to be God. They reigned for 1,260 years, from 538-1798 AD. during which they caused tens of millions of saints to be killed.
      The Pope’s title is Vicar of Christ, which in Latin is ‘Vicarius Filii Dei’, and equates numerically to the number 666

  • @danielobrien1137
    @danielobrien1137 2 года назад +12

    Sea of Thieves has the best looking water hands down, its one of the things that really amazed me when I first played.

  • @guybrush3000
    @guybrush3000 2 года назад +7

    the other big element here is that the ship is also responding to the waves, which has to happen completely independently from the shader.
    i’d be curious how it’s setup.
    they may use a simplified version of the same equation, running on the cpu, that drives physics interactions. And you would likely want that cpu function to manage some of what’s happening in the shader to keep it all in sync, and to avoid needing a very complex shader

    • @jowjowbro
      @jowjowbro 2 года назад +3

      And not only your ship but the entire server. So it needs to be network synced also

  • @Leon510er
    @Leon510er 2 года назад +617

    Hey, your videos are good, but the sound effects are really annoying after a while. Especially because they are relatively loud in contrast to your voice. I just watch the video at 1 o'clock at night and scare me every time^^

    • @lemonke8132
      @lemonke8132 2 года назад +25

      agreed

    • @Austin-hm6qq
      @Austin-hm6qq 2 года назад +28

      Literally the reason I came to the comments. The sound effects actually hurt

    • @gehtdichnixan613
      @gehtdichnixan613 2 года назад +16

      yeah terribly annoying, couldnt finish watching it

    • @thomaspiskorski7324
      @thomaspiskorski7324 2 года назад +3

      I don’t agree

    • @shoc2177
      @shoc2177 2 года назад +7

      yes, and yes. after watching the vid, with relative chill voice, my ears are getting raped by retro game sounds

  • @imjust_a
    @imjust_a 2 года назад +32

    Was kind of hoping you'd talk about implementing some of the coloring and foam details they have. The subsurface scattering (or what I assume to be -- the lighter, greener parts of the water) looks so good, but every time I've tried to implement it in UE4 it doesn't even come close to looking as good. I've also been trying to figure out how to get that shimmer effect on water for awhile.

  • @DngrDan
    @DngrDan Год назад +3

    It's absolutely mind blowing what they've done in this game with water. I really hope games in the future take from their techniques.

  • @jessiim
    @jessiim 2 года назад +45

    The waves in Sea of Thieves all travel from NW towards the SE. So even with all the fine detail, the overall shape isn't fancy but rather a simple wave that goes across the map. Just shoot up out of a cannon and you'll see what I mean.

    • @Erkille7
      @Erkille7 2 года назад

      yeah i have seen it

    • @RyanLeachrtl
      @RyanLeachrtl 2 года назад +1

      Necessary evil in order to sync all clients for hitreg.

    • @jessiim
      @jessiim 2 года назад +6

      @@User87145 it would. Except the wind isn't always going SE from the NW in Sea of Thieves

  • @Madlion
    @Madlion 2 года назад +4

    This is not basic gerstner waves, these are generated with FFT. Called FFT Waves. It is better than typical gerstner waves because it sample from an ocean spectrum and generate alot of gerstner waves

  • @oasis141
    @oasis141 2 года назад +8

    The water in sea of thieves looks so tasty when it's sunny

  • @hanabi8224
    @hanabi8224 2 года назад +36

    But how is the buoyancy simulation for the ship kept in sync with the waves?

    • @izzak6189
      @izzak6189 2 года назад +7

      That may be done through programming. Something along the lines of "This ship changes height and position based off vertexes of the waves" Its probably not a simulation as it is a blueprint or code based off the interactions of the ship and waves

    • @Erkille7
      @Erkille7 2 года назад +2

      Probably the waves affect in some way the root bones of the ship making an animation to rotate y the large axis and going up and down

    • @LightJockey
      @LightJockey 2 года назад +17

      As physics is calculated on the CPU then the exact calculations the GPU performs to displace vertices must be copied to CPU instructions. Basically the game knows how to displace the sea both in shader language for visuals and C++ for physics. Every ship or other buoyant object then implements buoyancy points that get sampled by the server with the CPU function to get the water height at those points only. With that, you can calculate buoyancy and let the physics simulation run. Clients predict this outcome since the formula is deterministic, once they know the server's time, then their "waves state" will match perfectly without sending any more data. It still sounds easy but in reality it's quite the technical achievement to have that sea in a multiplayer game. It's way more complicated than your usual FPS game, most of them don't even run any physics through the network.

    • @R3IMYSS
      @R3IMYSS 2 года назад +1

      If I'm not mistaken, the buoyancy simulation works hand-in-hand with the waves system in Unreal Engine.
      It just takes some tweaking to get a floating object to look like it's actually floating. :)

  • @AtomicGG
    @AtomicGG 2 года назад +1

    I'm french so i don't understand every "complicated" english word in the video, but i understand the important things, that's really good content and explication

  • @exiledrabbit
    @exiledrabbit 2 года назад +2

    The really impressive thing with the water in that game is that it's all physically enabled and the lighting (color/translucency/reflection)

  • @JackieLynn97
    @JackieLynn97 2 года назад +2

    While I think Sea of Thieves has the prettiest looking waves in a video game, currently, another title that has beautiful dynamic water is Valheim. I was blown away by the water in Valheim the first time I sailed out with the Karve, and sailing through storms with the longship is probably one of the coolest seafaring moments I've had in any game to date.
    Entire islands will become submerged during storms, and sometimes the tide will be really low, letting you see some terrain along the coast that's normally obscured. It makes for a really cool, and moody display, along with the dynamic lightning effects the game boasts. And I think it's even more impressive than Sea of Thieves' water, because the world is entirely randomly generated. Lagoons further inland can still be effected by oceans they're connected to, But they're usually much calmer So, I wonder how the tech functions in regards to connected bodies of water?

  • @ikitclaw7779
    @ikitclaw7779 2 года назад +7

    Actually in Sea of Thieves the waves aren't effected by the wind direction they always go south east.

  • @ULTRAWIDE.
    @ULTRAWIDE. 2 года назад +3

    SOT still has the best looking water in any game ever. Im always in awe of it when i go back and play it.

    • @marcm.official
      @marcm.official 2 года назад

      u should check assassin's creed origins or valhalla's water physics

    • @ULTRAWIDE.
      @ULTRAWIDE. 2 года назад +3

      @@marcm.official I’m very familiar with both. They’re no where near as good as SOT though.

  • @cezannealves6926
    @cezannealves6926 2 года назад +3

    Please make a series of short videos like this explaining game rendering and design tech. And group them in a playlist. I would watch all of it.

  • @BenBen-bb7bb
    @BenBen-bb7bb 2 года назад +3

    Just letting you know that your sfx are really loud compared to your voice and bckrnd music, love the channel !

  • @squidward-sk8mp
    @squidward-sk8mp 2 года назад +3

    It's not just the water the whole game looks amazing

  • @a-klashinkov-4755
    @a-klashinkov-4755 2 года назад +2

    also what amazes me about sea of theives is how the water doesnt phase through the ship when you are in the lower decks, never understood how the did it

    • @dealloc
      @dealloc 2 года назад +1

      This is often achieved by depth masking. Essentially the hull of the boat/ship model is used as a mask and the camera sees through that hull and ignore specific draws within the hull.

  • @MizoxNG
    @MizoxNG 2 года назад +2

    premake a flat circular mesh that's a few kilometers (or maybe even more! depends on draw distance) across and is very dense in the middle and very sparse as you get closer to the edge with a gradual falloff, have this mesh's horizontal position always be centered on the camera, but have every other aspect be controlled by your wave function, and have said wave function operate in world space rather than in object space. any textures you apply should also use world space rather than UVs
    other possibilities: rather than circular, have it be a wedge which only barely extends beyond your camera's FoV, and have it rotate itself to always match the Yaw of the camera.
    this version may break down if the camera's altitude is too high and pointed down, the amount of mesh which exists "behind" the camera must be sufficient to cover this possibility

  • @mfour7989
    @mfour7989 2 года назад

    Knowledge!
    Who needs a book a day when you have this!

  • @toozigooti
    @toozigooti 2 года назад +1

    Because of good art direction, this game will still look good for years to come.

  • @Samskihero
    @Samskihero 2 года назад +1

    This was more about how and why Sea of thieves water looks so good not really how it works like ships reacting to the waves, how it syncs with other players etc.

  • @drolsey
    @drolsey 2 года назад +9

    would love to see a short tutorial on how to achieve such waves

  • @azuliwolf5380
    @azuliwolf5380 2 года назад +1

    Fun fact: The waves in Sea of Thieves always barrel the same way, from North West to South East.

  • @robstaaa
    @robstaaa 2 года назад +6

    This video is misleading, great video but wrong answer. Sea of thieves litterally has public papers and techinical art talks on how that did it lol They used fast fourier transform (a ton more complicated then gerstner waves, but good starting point).

  • @bomhan8549
    @bomhan8549 2 года назад +2

    I haven't seen ANY one talk about stone pavements and roof shader in Genshin Impact yet.
    Can you please talk about it? It look so good and convincing.
    They made it just right no one noticed or felt off about it.

    • @PutineluAlin
      @PutineluAlin 2 года назад +1

      That's because they achieve this result using good physical sky simulation or goof light for short the shared is basic the sun is advanced.

  • @hungryhedgehog4201
    @hungryhedgehog4201 2 года назад +6

    One of my favorite details is the water running around on your deck depending on the angle of the ship etc. I assume it's some form of water map that achieves this.

  • @kickermen1559
    @kickermen1559 2 года назад +1

    Why did this just remind me of the End of the world mod for GTA IV with those 300m waves

  • @driguest
    @driguest Год назад

    it's funny because Cryengine 2 from 2005 have exactly this kind of shaders, and the ocean shaders working exactly the same as sea of thieves ( waves affected by wind etc ) but ..more than 15 years earlier

  • @ultracapitalistutopia3550
    @ultracapitalistutopia3550 2 года назад +31

    It's incredibly insincere to say that making sea wave with Gerstner wave is "only possible in UE" when such idea was popularized/democratized by Catlike Coding who wrote the Gerstner seawave tutorial originally for Unity in 2018.

    • @medmel2160
      @medmel2160 2 года назад

      Specially that there is no match to Unity Gerstner assets in the store in Unreal (Crest). All water in Unreal marketplace and the build in solution are bad or badly optimized.
      Of course SoT water is amazing.

    • @Shay.e38
      @Shay.e38 2 года назад +3

      when did he say that?

    • @notanagger4861
      @notanagger4861 2 года назад +4

      when did he say it was only possible in UE?

    • @LineOfThy
      @LineOfThy 2 года назад +1

      to clarify, he said that unreal makes the Gerstner Wave function easier to use since it uses a node-based system.

  • @spurio187
    @spurio187 2 года назад +7

    Im pretty sure this is completely wrong. I remember vividly a Rare interview back when the game was new and they mentioned they tried all kinds of simulation and techniques but ended up using real world data instead.

    • @LineOfThy
      @LineOfThy 2 года назад +1

      what do you mean by "real world data?"

  • @dyllanedwards5720
    @dyllanedwards5720 2 года назад

    Finally someone who just delivers the data to us instead of making us wait

  • @Mabifield
    @Mabifield 2 года назад +1

    Amazing that some of this tech was in Battlefield 4: Paracel Storm. Amazing for it's time.

  • @mattlies7426
    @mattlies7426 2 года назад

    Here because of Ryan's recommendation, cool video and great explanation.

  • @bunny6820
    @bunny6820 2 года назад

    The best and most organic AI is usually made of very simple but very flexible AI's mashed together, because real life is not predictable, it's a bunch of small things being chaotic towards each other
    Rain World is another piece of evidence for this

  • @Blind_Hawk
    @Blind_Hawk 2 года назад

    As a computer science student with interests into game development, this was extremely cool to watch.

  • @donny8619
    @donny8619 2 года назад +1

    Probably where the majority of early SoT development went which explains the really poor amount of content when it first released.
    Gotta love the 9 island castaway chest voyage which could take 3 hours if you’re solo slopping

  • @RowdyBrian17
    @RowdyBrian17 2 года назад

    I didn't understand a single word of what you just said, but this was pretty cool

  • @rexdoom3848
    @rexdoom3848 2 года назад +6

    Love the video, very informative, but the beeps and boops are a little too much louder than the voices for my tastes.

  • @coalburn7916
    @coalburn7916 2 года назад +5

    this is interesting, but how does a shader affect the physics of the game? the waves affect the motion of the boats, so describing it as a simple shader doesn't quite work

  • @carljeinkins5514
    @carljeinkins5514 2 года назад

    Titanfall had the best water known to man. Very little of it, but it looked so so so nice.

  • @PhilipIONO
    @PhilipIONO 2 года назад

    FINNALLY SOMEONE IS SMART ENOUGH TO DIVE DEEP INTO THIS

  • @MrSosho
    @MrSosho 2 года назад +2

    is it possible for a full tutorial both in unity and unreal? love your channel

  • @Sange4499
    @Sange4499 2 года назад +1

    can you explain why we get sucked into rocks while sailing close to them?
    My presumption was that the particles have no where to go when the waves are near the rocks, so they go down as that's that only space for them to go there for dragging stuff on the water toward the rocks, kind of like pulling a table cloth down off the edge of the table and everything on the table gets dragged with it, but I'm probably wrong.

    • @chuckjohnson3013
      @chuckjohnson3013 2 года назад +1

      There's no particles in this version of the water. The pulling towards the rocks is likely a light pull done separately towards the rock when entering its perimeter. Just some basic force field.

  • @porcuspine2368
    @porcuspine2368 2 года назад +2

    Ok but how do they make it interact with the boats and stuff? And how do they make it so the water doesn't clip through the bottom levels of the boats?

  • @hiiammoot
    @hiiammoot 2 года назад +1

    I hoped you would cover how collision works with the waves and ships, another time maybe?

    • @LineOfThy
      @LineOfThy 2 года назад +1

      Probs takes the same info from the wave functions to alter the ship's position and rotation

    • @mjl3631
      @mjl3631 Год назад

      Getting the height of a Gerstner wave at a precise location is not mathematically possible because whatever height you get from sampling that wave is the height at a *shifted* location in X and Y, and not the location we asked for! You can approximate the result using an iterative approach: first iteration, sample the height at the asked location. Second iteration, sample the height at the asked location MINUS the X & Y location offset you got from the previous iteration and rinse & repeat. Each time you'll get a smaller and smaller X & Y location offset and you'll get closer and closer to a height that is exactly the height at the asked location.

  • @williamscott3673
    @williamscott3673 2 года назад +1

    I am interested in how all of the players sync waves. When fighting another player, both players see the same wave. That seems like way to much data for a server to constantly be sending to the players (a rapidly changing height map!)

    • @toebeexyz
      @toebeexyz 2 года назад +5

      The algorithm used to generate the waves is deterministic which means it can be generated with a seed and be the same every time. All the game has to do is give every player the same seed and boom same waves.

  • @boneshakerjake
    @boneshakerjake Год назад

    I have never personally played sea of thieves
    but one thing I do understand a little bit about water in video games in particular physics based sort of "build your vehicle from scratch" games
    is the underwater physics
    the one I will talk about in this comment is airtight spaces where under the waters surface a space that shouldn't have water does
    sea of thieves doesn't have this issue and in fact is one of the only games I know has a working airtight space on a 3d plane
    the reason I mention "3d" is because in games like barotrauma and we need to go deeper have a working airtight space system mostly because of their 2d atmosphere that make it easier
    we need to go deeper is a different case because if I'm not mistaken the submarine is just on a background you can only see through camera's on the outside making it possible to render the water as a background as the physics is never applied to the characters unless you are at a cave in which the physics are not needed so much
    barotrauma is in a different category because *you can* go into the water while the sub is moving you can swim in flooded rooms, and it even has a floating number that determine if the water pressure can kill you even have ballasts which have water in them depending on your depth, but the key factor is you can exit your sub and it works kind of like an airlock in space games
    you close a door and open the other to the outside if others inside the sub are using the sonar or guns, they can see you swimming
    I admit I don't have a super good understanding of programming, but I do understand that is hard, but it only gets harder in a 3d space because you can't just determine it using different layers of backgrounds and applying physics for some of those important details
    sea of thieves did somehow and if you or somebody who comments knows the secret tell me I'm interested.

  • @thejam4639
    @thejam4639 2 года назад

    I have no idea how to use unreal engine, but feel secure in that if i ever learn, i can make waves.

  • @adamrushford
    @adamrushford 9 дней назад

    the fact that nobody releases their source makes these videos obsolete by their vary nature

  • @-zorkaz-5493
    @-zorkaz-5493 2 года назад

    I'd always wondered about those insane Arkham Knight waves!

  • @dylananhorn1
    @dylananhorn1 2 года назад +1

    all i want is a way to add the waves from sea of thieves to other games tbh. but i understand this topic is very complex and isnt as easy as that.

  • @matthewy543
    @matthewy543 2 года назад

    Hey dude well done with the video, you summarized this complicated thing in 3 minutes. Impressive

  • @secabrepheox5450
    @secabrepheox5450 2 года назад +1

    @3:00 You forgot 1 simple trick: Everything outside of camera view is not being rendered at all

  • @ayron419
    @ayron419 2 года назад +3

    I was looking for this video. SoT water is unmatched. Love the explanation!

  • @kabargin
    @kabargin 2 года назад

    wow, this video was extremely good

  • @kaelenharbottle4428
    @kaelenharbottle4428 2 года назад

    I would make a water shader in Unity, but this vid opens up to some more ideas to make water better in games

  • @biglwrab9634
    @biglwrab9634 2 года назад

    Id love to see Subnautica with big crashing waves, thunder and rain etc. Itd add a lot of ambience when you surface

  • @erobertt3
    @erobertt3 2 года назад

    It's funny that the 3 big games that do waves the best are 2 pirate games and then batman, a game where you can't swim or use any boats at all

  • @josh256m8
    @josh256m8 2 года назад

    Stormworks looks pretty good aswell

  • @peekayhaha
    @peekayhaha 2 года назад

    as a batman fan i screamed when he wrote “arkham city” when it was showing arkham knight gameplay

  • @Leonismychild
    @Leonismychild 2 года назад

    The whole game looks good especially the water

  • @ivaniloski6605
    @ivaniloski6605 2 года назад

    im shocked how people are this talented, ilke how????

  • @Rhacman
    @Rhacman 2 года назад +2

    If the displacement is happening in the shader and not in the copy maintained by the CPU, doesn't that mean that your physics model can't react to the waves?

    • @Annatar0
      @Annatar0 2 года назад +1

      yeah that is my question as well. Both the rendering and collision has to match to a certain degree so I wonder if they are running a lower mesh version for collision?.

    • @bdenix1997
      @bdenix1997 2 года назад +3

      you can do that by doing the same calculations you do in gpu on cpu. but instead for every vertex, you do it just for 1 point that you need. like player position, or a buoyant object position. then you get the waveheight, if the objects y pos is lower than waveheight, you apply force to bring that up. you can apply it on an another mesh with lower vertices but, sampling 1 point does the thing too.

  • @JuanUys
    @JuanUys 2 года назад

    Looking forward to the "other video" alluded to towards the end there :)

  • @AlexJoneses
    @AlexJoneses 2 года назад +1

    taking fluid dynamics did not prepare me for this, but I'm happy that I didn't have to see any partial DE signs at all

  • @eyeforge
    @eyeforge 2 года назад +1

    Make a video about how clouds are made in Sea of Thieves 🧐 Please 🥺

    • @LightJockey
      @LightJockey 2 года назад +2

      There's a brief GDC talk on the subject if you're interested ruclips.net/video/KxnFr5ugAHs/видео.html
      They're standard meshes that get rendered to a texture and then that texture gets warped with noise to make the clouds look "fluffy". Then some postprocessing gets applied like blurring the ones that are closer and adding proper lighting. Basically shader magic, as usual.

  • @negativejam2188
    @negativejam2188 2 года назад

    I never really thought about how good the water looks in sea of thieves. But I agree, it does look extra juicy 👌

  • @kingofawesomeness5375
    @kingofawesomeness5375 2 года назад

    I like your funny words, magic man

  • @FergyB20
    @FergyB20 2 года назад

    Like the short info style video. Its Good.

  • @TRMrStone
    @TRMrStone 2 года назад +6

    Why are your sound effects so loud? xD The rest is very informative and useful :]

  • @billychops1280
    @billychops1280 2 года назад

    I played sea of thieves 2 days ago for the first time in like over a year, and when we got caught in a storm, the waves looked so different that I literally thought we would get submerged

  • @Skeffles
    @Skeffles 2 года назад +1

    Fascinating! It's super cool to see this can be done in UE like this.

  • @yuuh193
    @yuuh193 2 года назад +1

    Awesome video. If I may say, I think you should either boost the volume 3 to 5 dB for your voice, or turn down 3 to 5 dB the bright sharp retro sound effects that you put in. I love the extra details and design you put in, but the balance in the mix is unpleasant. The retro samples being audible behind you would be a good touch and still complement your material. Your effort to make these videos is very apparent so I just wanted to make this suggestion, especially when you have a quality speaking voice and mic.
    edit: OH Wow the outro is so loud! Turn your voice up 9 dB or so and you're set. Keep the sound effects behind you, and please don't jump scare our ear drums!

  • @tematoscybersage5626
    @tematoscybersage5626 2 года назад

    Thank you a lot!!! I was supposing so much how they did this!
    So dynamic collision is not generated at all, right? They just predicting height of the wave by calculating distance to it and correct models to that height, right?

  • @luizlopez2022
    @luizlopez2022 8 месяцев назад

    maybe GTA VI's water & wavework will using another advacing from Gerstner Wave

  • @melancholymaids3032
    @melancholymaids3032 2 года назад

    god i want a mod of this in subnautica. for having a massive moon orbiting it, there should be wacky water physics

  • @cashexe7934
    @cashexe7934 2 года назад

    Incredible production quality

  • @dovahclone2607
    @dovahclone2607 2 года назад

    Phenomenal video, right up until my eardrums were destroyed by arcade sound effects lmao

  • @richardchristie1293
    @richardchristie1293 2 года назад +1

    I know it's subjective, but I don't agree that Sea of thieves water looks good. I can't bring myself to look at it, it's too hard to suspend my disbelief when in a quiet moment with calm breeze you look down to see the water morphing between heightmaps of the Himalayas! All whilst being in - matte - chlorine blue - water which seems bottomless, but is in the middle of an archipelago!? I've decided on my own lore (it's set on an alien planet), but that only goes so far when the SoT world is so bizarre.

  • @miltonmervinraj12
    @miltonmervinraj12 2 года назад

    I basically know everytNice tutorialng there is to know about soft soft but I still watched tNice tutorials through just because of how good you explained

  • @andrewjamison4933
    @andrewjamison4933 2 года назад

    I like your words magic man

  • @Cyruseh
    @Cyruseh 2 года назад

    2:07 let me get this going real quick 😂😂

  • @stanalbatross8615
    @stanalbatross8615 2 года назад

    "Wave function" always gives me ptsd. Sincerely, someone who didn't finish studying chemistry

  • @ArmadaWixxi
    @ArmadaWixxi 2 года назад

    Nice video! But Rare did not use Gertsner waves. Instead they used a dif formula called Tessendorf's formula which produces more complex wave crests and shapes. The principles are the same as Gertsner but the formula is different.

  • @tankosiris4991
    @tankosiris4991 2 года назад

    I understand everything. Thank you for sharing so much information on this topic that I so completely understand!

  • @unlucky-777
    @unlucky-777 2 года назад

    Me and my friend literally talking about how did they manage to make so beautiful water physic for sot while playing sot like yesterday

  • @Yoctopory
    @Yoctopory 2 года назад +1

    Ok, that's for the movement. But one of the things that makes the water look so good is the (faked) subsurface scattering.

  • @AdamsOlympia
    @AdamsOlympia 11 месяцев назад

    I hope someone uses these techniques to create an old school sailing game with a more serious tone than Sea of Thieves, and with single player control. Something somewhat akin to Pirates of the Caribbean on the original XBOX, but better in every way. (p.s. that's not a movie tie in, its an original IP classic = watch?v=SYSVQiSI2LU)