Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

HDRP Water Shader Graph (Github link)

Discussion in 'World Building' started by Flamacore, Mar 26, 2019.

  1. Flamacore

    Flamacore

    Joined:
    Dec 17, 2013
    Posts:
    81
    Hey all! :)

    I've put together a shader graph (and a sub-graph) I've been using for our game and uploaded it to github for free usage. Feel free to download and use however you wish. There's still work to be done but I thought it might be useful.

    It's easy enough to control and there's a crude demonstration video too.

    Github: https://github.com/flamacore/UnityHDRPSimpleWater
     
    laurent-h, elbows, wyattt_ and 6 others like this.
  2. The_Nerd_Sherpa

    The_Nerd_Sherpa

    Joined:
    Dec 11, 2018
    Posts:
    55
    Looks great! Thanks for sharing it with us.
     
  3. konsic

    konsic

    Joined:
    Oct 19, 2015
    Posts:
    995
    Thank you
     
  4. Amitloaf

    Amitloaf

    Joined:
    Jan 30, 2012
    Posts:
    93
    Thank you! I have to say that it doesn't work on 2019.1.
    It's completely transparent and the waves are sharp and weird. Can you help make that work again? It looks great
     
  5. tobimenk

    tobimenk

    Joined:
    Aug 23, 2019
    Posts:
    1
    Hey,
    can you please give short advice(or better for Unity Newbies) how to use in Unity 2019.2. I cant get it to work :(
     
  6. Flamacore

    Flamacore

    Joined:
    Dec 17, 2013
    Posts:
    81
    Hey sorry for the late responses but unfortunately I don't have any time to commit to this for the time being and as I stated it's highly experimental :) So it'll only work on 2018.3 and hdrp 4.9.0 surely but I can't guarantee other versions...
     
  7. Flamacore

    Flamacore

    Joined:
    Dec 17, 2013
    Posts:
    81
    Update: Added a simple example project to github page.
     
    konsic likes this.
  8. ravnholt63

    ravnholt63

    Joined:
    Aug 13, 2019
    Posts:
    1
    upload_2020-3-24_11-0-12.png
    Why is the water getting green when adjusting the transparency. in unity 2019.3.5
     
  9. GarrettF

    GarrettF

    Joined:
    Jul 4, 2019
    Posts:
    21
    This won't work for me, getting a shader error with pink material. Doesn't change whether I make my own material or use the one from the demo scene. HDRP + Shader Graph v 7.1.8. Anyone able to get it to work with the newest versions?
     
unityunity