Grass on HDRP terrain

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 :slight_smile:

6 Likes

Performance aside, it looks fantastic.

Thanks for sharing!

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?

where the new shader is supposed to add.
I have already done all that has been said, but where should I place the new shader.