URP Water Shader - Unity Shader Graph (Tutorial)

Поділитися
Вставка
  • Опубліковано 23 лис 2024

КОМЕНТАРІ • 25

  • @Novaree
    @Novaree 8 місяців тому +1

    Hey there. I'm a little confused: As you save the sub graph Wave Noise Sub Graph, both outputs are set to Floats. However, at 11:07, when you've added the subgraph to the shader, the output nodes are named Out_Vector1 and Out_Vector1_1. Did you change the output type of the subgraph to Vector's outside the recording?

    • @MichaelsGameLab
      @MichaelsGameLab  8 місяців тому +2

      Vector 1 and floats are interchangable. The name might have changed somewhere in between, but they are the same.

  • @nileshkumawat6730
    @nileshkumawat6730 Місяць тому

    Thank you sir for tiled water

  • @myssticarrows7296
    @myssticarrows7296 5 місяців тому

    amazing video when ur showing what to do you go a bit fast but no other complaints

  • @cardinal6858
    @cardinal6858 6 місяців тому +1

    Hello, good tutorial but the refraction doesn't work while I import your project and I use unity 2021.3.38 (a close version of you) and URP. Did you make some specific change that you doesn't show in the video ? Like in the setting ?

    • @MichaelsGameLab
      @MichaelsGameLab  6 місяців тому

      Everything should be in the video. Maybe it's something in the render settings?

    • @niknikagain
      @niknikagain Місяць тому

      I have the same issue - all work fine except the refraction ((

  • @minimastudios_
    @minimastudios_ 2 місяці тому

    Hey! Thanks for this first of all. Just wondering - im having issues with my own noise textures. When i just use noise node it works, but if i try to use my own noise pngs it doesnt, do they need to be certain format in unity?

    • @MichaelsGameLab
      @MichaelsGameLab  2 місяці тому

      Are the dark parts of your noise png black or transparent?

    • @masoncrowe
      @masoncrowe 2 місяці тому

      @@MichaelsGameLabblack!

    • @MichaelsGameLab
      @MichaelsGameLab  2 місяці тому +1

      ​@@masoncrowemaybe try making them transparent instead. I sort of remember having a similar issue.

  • @antimeme5545
    @antimeme5545 Місяць тому

    Hello, I'd like to apply this to a cube and it sort of works, but it makes a wave on the top and bottom surface. How can I make it so that it only makes waves on the top surface? Thank you

    • @MichaelsGameLab
      @MichaelsGameLab  Місяць тому

      Hmmm... maybe you could do some sort of comparison with the object normal vectors where you only allow the waves if it is the top face. I am not sure though.

    • @antimeme5545
      @antimeme5545 Місяць тому

      @@MichaelsGameLab also refraction seems to not work at all for some reason

  • @harriet4611
    @harriet4611 6 місяців тому

    hi when i add the material to my subdivided plane it remains grey? I'm new to unity and not sure if there's a setting or anything I need on for this to work? lol cant get any water to work in my scene,even free assets remain pink help would be really appreciated!!

    • @MichaelsGameLab
      @MichaelsGameLab  6 місяців тому

      Do you have URP installed and configured?

    • @harriet4611
      @harriet4611 6 місяців тому

      @@MichaelsGameLab no, but ive tried looking for where I can download if and I cant find it anywhere, do you know how I can add it? :) thank u for replying btw

    • @raynoah6120
      @raynoah6120 6 місяців тому

      @@MichaelsGameLab Hello! same problem here! I installed URP but I dont actually know the config I should use for shaders of this type

  • @cashoto6324
    @cashoto6324 2 місяці тому

    At 11:08 I can't connect the add and combine nodes, do you know the reason for this?

    • @MichaelsGameLab
      @MichaelsGameLab  2 місяці тому

      Shadergraph can be weird sometimes :(

    • @cashoto6324
      @cashoto6324 2 місяці тому

      Turns out my texture wasn’t a LOD or sum

  • @JamesOfToya
    @JamesOfToya 7 місяців тому

    But how do i make a boat to float on the water?

    • @MichaelsGameLab
      @MichaelsGameLab  7 місяців тому

      That is a more complicated issue.
      Acerola has a good video regarding this: ua-cam.com/video/ja8yCvXzw2c/v-deo.htmlsi=Rg0AvNa9PR-7obhi
      It is not a tutorial, but has some good info.