I need help on how to approach spawning grass on a terrain object using DrawMeshInstanceDirect. I understand terrains have a built in grass placement option but I want to have more control over the grass. More detail on why I need this level of control is to sample the color of each vertex that the grass mash sits on and color it according to the color on the terrain for example a cloud over the vertex will also color the grass mesh darker.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Problem with DrawMeshInstance with HDRP or LWRP | 23 | 8057 | September 11, 2020 | |
I tried to use DrawMeshInstancedIndirect to draw some grass onto my procedual terrain, but these grass disappears when I rotate the camera | 0 | 24 | November 1, 2024 | |
Render Grass on Mobile Using Graphics.DrawMeshInstancedIndirect on Unity Versions greater than 2022.3.4f1 | 0 | 33 | October 19, 2024 | |
Issues with DrawMeshInstancedIndirect | 0 | 57 | August 12, 2024 | |
Need help with HDRP and DrawMeshInstancedIndirect | 1 | 1735 | January 27, 2022 |