Search Unity

Terrain Grass on HDRP terrain

Discussion in 'World Building' started by AkiLap, Dec 29, 2018.

  1. AkiLap

    AkiLap

    Joined:
    Sep 14, 2014
    Posts:
    24
    Hi,
    Just wanted to show how you can paint non-billboard grass on Unity 2018.3 & HDRP 4.6.0-preview:

    You create new terrain, and in Paint details, create new Grass texture, disable its billboard checkbox.
    then

    1. Create new Lit shader graph
    2. Name it to: WavingDoublePass
    3. open shader, rename the path to: Hidden/TerrainEngine/Details
    4. use these settings as shown in picture:



    Note that it is far from perfect, and the performance is pretty bad (at least on my setup).
    But hopefully this helps some people getting closer to working grass setup :)
     
    Wolfos, phobos2077, id0 and 2 others like this.
  2. Shinobi1507

    Shinobi1507

    Joined:
    Sep 8, 2010
    Posts:
    208
    Performance aside, it looks fantastic.

    Thanks for sharing!
     
  3. Psychoram

    Psychoram

    Joined:
    Jun 1, 2014
    Posts:
    2
    Hi! I m using unity HDRP 2019.1 and my grass is pink. I tryed with wavingDoublepass shader but or it is not working in this version , or I don't knot to install it corectly. Can someone help me?