Easy Realistic Water In Godot Tutorial

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

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

  • @richbuilds_com
    @richbuilds_com 8 месяцев назад +53

    To the point, no waffle. Works. Perfect.

    • @spleenvitals
      @spleenvitals 7 месяцев назад +1

      I second this sentiment.

  • @marius35mm
    @marius35mm 9 месяцев назад +11

    One of the best channels for Godot tutorials, thank you!

  • @saltdancer
    @saltdancer 3 месяца назад +4

    i have never seen a better and simpler tutorial, you even effortlessly added water movement i am so thankful and impressed by this

  • @abranubes9571
    @abranubes9571 9 месяцев назад +6

    Concise, perfect for a quick setup to get started. Thanks!

  • @aramagon7011
    @aramagon7011 9 месяцев назад +6

    Going to check this out now. But wow your simple terrain is the best by far. I have alot of great ideas just struggling to implement them.

    • @MajikayoGames
      @MajikayoGames  9 месяцев назад

      Sure :) let me know if I can help or if you want video tutorials for anything. I'm looking for ideas for videos

    • @aramagon7011
      @aramagon7011 9 месяцев назад

      You know there are lots of tutorials for godot. Right but the thing is they only give you so much and no end round point. Yes doing a terrain. Yours so far is the best I have come across. It's more indef and explains better. I'd say think like a gamer think if you where to start how would you start making a game. What could you make a video on that people would want to see. So take it this way. The indef explanation you did in simple terrain is accurate and people understand what's going on with it. So try more on 3d development in Godot. Nad the ones out there are ok just not enough. Look at terrain3d it only has like 3 videos but that's it. And it's still limited. Then they refer you to the documentation. Wich doesn't really cover experiencing the program visually. So island game types. Maybe Rts type of games survival types of games. Eventually move to mmo. People really like me struggle abit and is also limited to the internet to get these types of information needed. And if it helps people create awesome games then they can credit your channel and trust me getting credited on a game made with help from your tutorials that's going to boost your channel big time.

    • @aramagon7011
      @aramagon7011 9 месяцев назад +2

      Even try mixing game types would be interesting. Like rpg with Rts lol those havnt been done yet either and should be interesting to make.

  • @HakanBacon
    @HakanBacon 8 месяцев назад +2

    Fantastic video!

  • @benfree_man
    @benfree_man 8 месяцев назад +4

    This is amazing! I can't believe how simple and straight forward it is. Thanks!

  • @RudolphThomas
    @RudolphThomas 8 месяцев назад +2

    Nice, short recipe. Thanks.

  • @jonazuknik4379
    @jonazuknik4379 8 месяцев назад +2

    perfect thank you!!!

  • @GeneralChrisGaming
    @GeneralChrisGaming 6 месяцев назад +1

    Wow this was not only quick very easy to understand. I dont think ive learnt anything faster in my godot journey than this. This is going to be hard to top

  • @zxnz215
    @zxnz215 3 месяца назад +1

    wow, so simple, straight forward and clear!

  • @meowyih1
    @meowyih1 6 месяцев назад +3

    Excellent way to start making an ocean. I even didn't know there is a method to convert StandardMaterial3D into ShaderMaterial. It's so helpful! Thanks for your work!!

  • @sporktank
    @sporktank 9 месяцев назад +3

    Simple and effective!

  • @firstlast6796
    @firstlast6796 2 месяца назад +2

    this is the tutorial all others should be judged against

  • @silver013wasd
    @silver013wasd 3 месяца назад +1

    WHOAH this is information its freaking gold on its own :o htank you so much

  • @ndriqa
    @ndriqa 5 месяцев назад +1

    Wow. Very concise tutorial. Earned a sub!

  • @ayzhol9620
    @ayzhol9620 23 дня назад

    What a beautifully explained video. Thank you. Following

  • @skyblue1954
    @skyblue1954 5 месяцев назад

    damn, as a complete newb to godot and game dev in general, thank you, subbed

  • @TheLastPhoen1x
    @TheLastPhoen1x 5 месяцев назад +1

    Bruh...
    This water is amazing and change to shader material tip has great value buy itself.

  • @futursoup9007
    @futursoup9007 8 месяцев назад +2

    thank you sir 👌

  • @jasonmuse
    @jasonmuse 10 дней назад

    BEST TUTORIAL OAT

  • @funny.11114
    @funny.11114 9 месяцев назад +2

    Hello. I liked your tutorial. But, changing the scale value can affect optimization? I heard that for better optimization the scale should always be set to one. Thank you for the lesson.

    • @MajikayoGames
      @MajikayoGames  9 месяцев назад +2

      Not that I know of, shouldn't make a difference. For physics objects in godot usually you want it set to 1 to ensure correct physics handling. But for a visual water effect like this it shouldn't make a difference. The same number of polygons are being rendered. And since we set texture triplanar world, the textures will not get stretched when scaling.

  • @zamdalatstudio2606
    @zamdalatstudio2606 3 месяца назад +1

    Thank you🎉

  • @catconsumer
    @catconsumer 8 месяцев назад +2

    really cool! thx

  • @surepart
    @surepart 2 месяца назад +1

    The power of box/cube

  • @boduzapho
    @boduzapho 8 месяцев назад +1

    Excellent my guy.. brilliant

  • @Marandal
    @Marandal 7 месяцев назад +1

    Thank you! super helpful and to the point.

  • @whoamyou
    @whoamyou 2 дня назад

    Thank you dude

  • @ahmedamir7
    @ahmedamir7 3 месяца назад

    Thank you sir 🫡

  • @sanyi9667
    @sanyi9667 5 месяцев назад

    liked subscribed amazing! please make more short tutorials like this!

  • @DarinLawsonHosking
    @DarinLawsonHosking 6 месяцев назад +1

    Any idea how I could add a buoyancy surface to this so I could have a boat float on it and have it "swimmable" both under and on the surface?

    • @MajikayoGames
      @MajikayoGames  6 месяцев назад +1

      I did a video on making a swimming mechanic for FPS controllers here: ruclips.net/video/HzQvI4wwr-0/видео.html
      However, I haven't worked with buoyancy much. I think you might be able to modify gravity for rigid bodies using an Area3D.

    • @DarinLawsonHosking
      @DarinLawsonHosking 6 месяцев назад +1

      @@MajikayoGames I am trying to build a game based around island exploration (majority ocean biome and boat travel) but buoyancy is kicking my ...

  • @lucasbird6367
    @lucasbird6367 2 месяца назад

    Great tutorial thank you! its possible to create an island like from the zelda wink waker outset island in godot?

  • @mclix5924
    @mclix5924 9 месяцев назад +1

    Hello! i wan't to talk about stair handling in your first tutorial. I have strange glitch after trying to climb to steep angle then variable any_too_steem is always true and i can't climb stairs anymore.

    • @MajikayoGames
      @MajikayoGames  9 месяцев назад +1

      That is very odd. You mean it just gets stuck for the rest of the level everywhere? It's possible that is a glitch in Godot's physics engine. I found it glitchy myself. Can you try the same thing but install Godot jolt to your project? That fixed some bugs for me.

    • @mclix5924
      @mclix5924 9 месяцев назад

      I copied your code from github and all worked( jolt is installed), but tou can climb on other character bodies and i can't fix that.@@MajikayoGames

  • @kimplll
    @kimplll 6 месяцев назад +1

    How would I change the direction the water moves?

    • @MajikayoGames
      @MajikayoGames  6 месяцев назад

      you could add another multiply in the shader like * -1.0 or * vec3(-1., -1., 1.) to multiply each the xyz components separately

  • @legally_blind
    @legally_blind 3 месяца назад +1

    Time doesnt make it move for me, is there some library I have to open or did something change in the new update or sth?

    • @MajikayoGames
      @MajikayoGames  3 месяца назад +1

      still works for me on 4.3. uv1_triplanar_pos is the variable in the vertex() function of the shader.

    • @legally_blind
      @legally_blind 3 месяца назад +1

      @@MajikayoGames It must have stopped loading at some point while I was changing the values I did some steps over and then the maps started updating and the water was moving.

  • @iGodot
    @iGodot 3 месяца назад

    Thanks! :)

  • @MikeMcRoberts
    @MikeMcRoberts 7 месяцев назад +1

    This is great but does it react to things in it such as a boat moving along?

    • @MajikayoGames
      @MajikayoGames  7 месяцев назад +1

      This current version does not but could be an interesting future tutorial :)

    • @MikeMcRoberts
      @MikeMcRoberts 7 месяцев назад +2

      That would be great 😊​@@MajikayoGames

  • @mildu545
    @mildu545 5 месяцев назад

    Any way to change the noise's z offset with time to create changing waves?

  • @huppsy
    @huppsy 5 месяцев назад

    how can i make it so that the water effect is showing even when submerged in the water?

  • @Burb__
    @Burb__ 5 месяцев назад

    Awesome tutorial and really nice looking water with very easy setup!
    Question: When my player enters the water area they become fully invisible. Any way to solve it? (I'm using a CharacterBody3D w/ Sprite3D for a sidescrolling 2D/3D hybrid and trying to make a hidden underwater area)
    The only way I found so for was to set "No depth test" to true in the Sprite3D node. This works, but is then not affected by the water effects anymore and breaks the illusion of being under water.

    • @Burb__
      @Burb__ 5 месяцев назад

      Solved it! Not sure about other nodes if they have the same properties but for anyone else with the same issue then at least for Sprite3D nodes try setting "Alpha Cut" to discard and it should work. 👍

  • @francoendrigo
    @francoendrigo 5 месяцев назад

    can we clip the mesh with the terraing to optimize by diminishing polys?

  • @Real_Chill332
    @Real_Chill332 6 месяцев назад +1

    How i can make it do waves?

    • @MajikayoGames
      @MajikayoGames  6 месяцев назад

      I saw a tutorial by StayAtHomeDev on that :) ruclips.net/video/7L6ZUYj1hs8/видео.html
      uses a vertex shader

  • @michal8497
    @michal8497 7 месяцев назад +1

    Is there way to do this for 2d water?

    • @MajikayoGames
      @MajikayoGames  7 месяцев назад

      You could do something very similar, but it would be a lot more custom. It would involve writing a custom canvas item shader, probably taking in a noise texture as a shader parameter and doing some blurring/distortion of the pixels behind it.

  • @funny.11114
    @funny.11114 9 месяцев назад +1

    Can you make clouds the same way please?

    • @MajikayoGames
      @MajikayoGames  9 месяцев назад +3

      Thank you for the suggestion. Might do a video on this. It would end up being more complicated. Volumetric clouds can be created with 3D noise and raymarching in the fragment shader.

  • @irayala
    @irayala 8 месяцев назад +2

    for some reason, the water looks very bad in the camera, but everything is gorgeous in the viewport, just like in the tutorial(((

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

      Try adding the sun and environment to your scene. You will find the option to do so in the top of the godot viewport (The 3 dots to the left of "Transform"). Then it should look the same in game as the preview viewport.

    • @irayala
      @irayala 8 месяцев назад +3

      @@MajikayoGames Thanks, I've already figured it out, but that wasn't the point. after converting to a shader, it turned out that it was necessary to turn the sliders again in refraction

  • @victorbied1
    @victorbied1 7 месяцев назад +1

    Can i hit Like about 100 times? Simple was what i was looking for. Thanks!

  • @RickySpanish-RS
    @RickySpanish-RS 3 месяца назад

    This is how to make videos although i could have watched from a new scene

  • @nataliereilly7895
    @nataliereilly7895 7 месяцев назад

    👍🏽👍🏽👍🏽

  • @vRV379
    @vRV379 5 месяцев назад

    How can i change water wave dairection?

    • @MajikayoGames
      @MajikayoGames  5 месяцев назад +1

      TIME * vec3(-1.,-1.,-1.); // like this. flip negatives for x,y,z