URP Water Shader - Unity Shader Graph (Tutorial)

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

КОМЕНТАРІ • 24

  • @Novaree
    @Novaree 7 місяців тому +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  7 місяців тому +2

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

  • @nileshkumawat6730
    @nileshkumawat6730 20 днів тому

    Thank you sir for tiled water

  • @myssticarrows7296
    @myssticarrows7296 4 місяці тому

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

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

    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  Місяць тому

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

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

      @@MichaelsGameLabblack!

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

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

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

    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  5 місяців тому

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

  • @antimeme5545
    @antimeme5545 3 дні тому

    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  2 дні тому

      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 2 дні тому

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

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

    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  5 місяців тому

      Do you have URP installed and configured?

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

      @@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 5 місяців тому

      @@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 Місяць тому

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

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

      Shadergraph can be weird sometimes :(

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

      Turns out my texture wasn’t a LOD or sum

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

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

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

      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.