Search Unity

working "water" demo? or guide

Discussion in 'Getting Started' started by splundge, Jan 15, 2022.

  1. splundge

    splundge

    Joined:
    Dec 29, 2021
    Posts:
    24
    Hi
    I am just getting started with unity. I've learnt a few things so far, and now I'm trying to get water working.
    But I can't seem to find a working demo?

    -googling water/unity seems to keep linking back to this outdated article:
    https://docs.unity3d.com/560/Documentation/Manual/HOWTO-Water.html

    -youtube demos like the one below seem to be out dated. I followed the demo, but I can't find the "depth texture" option in the URP settings?? so it never renders


    -I tried getting this free asset pack - but again, it says
    "Shader requires the depth texture option to be enabled in URP quality settings. If not enabled, the water will apear with no transparency. That is up to you, depending on whitch platform you are tageting", but I CANNOT find the depth texture option anywhere in the project settings menu??
    https://assetstore.unity.com/packages/2d/textures-materials/water/simple-water-shader-urp-191449

    Can anyone link a simple, water tutorial that works with the current/latest version of unity ?
     
  2. Mauri

    Mauri

    Joined:
    Dec 9, 2010
    Posts:
    2,664
  3. splundge

    splundge

    Joined:
    Dec 29, 2021
    Posts:
    24
    You were correct. I needed to
    - create a universal render pipeline asset
    - assign it in the graphics settings

    Although everything turned pink!!

    Then i discovered that i also needed to go to edit -> render pipeline -> universal render pipeline -> upgrade project materials to universal render pipeline.

    Thanks for your help ! Water now works :)