Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    138
    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
     
  2. The_Nerd_Sherpa

    The_Nerd_Sherpa

    Joined:
    Dec 11, 2018
    Posts:
    57
    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:
    97
    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:
    138
    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:
    138
    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:
    49
    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?
     
  10. Terminus001

    Terminus001

    Joined:
    Nov 1, 2015
    Posts:
    121
    Same here, I think it's hopeless for newer versions unfortunately
     
  11. minchio

    minchio

    Joined:
    Oct 7, 2014
    Posts:
    4
    I just renounced to use HDRP and unity, i will reinstall UE.
     
  12. Flamacore

    Flamacore

    Joined:
    Dec 17, 2013
    Posts:
    138
    Oh hey, actually missed this forum post. You can check the github page for newest update. There's a package version for 2019 there.
     
  13. Flamacore

    Flamacore

    Joined:
    Dec 17, 2013
    Posts:
    138
    Sad to see you go @minchio. Perhaps I can convince you to stay with this? :)


    Or maybe this?
     
    Rowlan likes this.
  14. GarrettF

    GarrettF

    Joined:
    Jul 4, 2019
    Posts:
    49
    Thanks for uploading the new update for the water shader, I'll try it out when I can. Excited!

    Also is that Fire effect using VFX graph? or the particles system?
     
  15. Flamacore

    Flamacore

    Joined:
    Dec 17, 2013
    Posts:
    138
    It's VFX Graph on HDRP :)
     
  16. Rowlan

    Rowlan

    Joined:
    Aug 4, 2016
    Posts:
    4,200
    Thanks for sharing your Shader Graph. You don't happen to have Water VFX as reference? Splashes and such. I'm new to VFX Graph and all I could find for learning was fire, smoke and explosion. There's no Water unfortunately.
     
  17. brugetsu

    brugetsu

    Joined:
    Mar 14, 2019
    Posts:
    1
    nice work.
     
  18. warthos3399

    warthos3399

    Joined:
    May 11, 2019
    Posts:
    1,726
    Great contribution to the community, nice work...know how ya feel. it gets updated when it gets done, lol.