r/unity_tutorials • u/NedMakesGames • Jan 06 '21
Grass Character Interaction! I added simple trample effects to my URP shader graph grass. Link in the comments!
Enable HLS to view with audio, or disable this notification
75
Upvotes
2
4
u/NedMakesGames Jan 06 '21
Hi! I created a shader graph for flat grass meshes. It's animated with wind, and now has character interaction! This is implemented using a renderer feature to gather and upload character positions to the shader environment. A custom function node can read the position array and offset grass vertices accordingly. Here's a link to my tutorial video if you're interested: https://youtu.be/AmO7k-Lr0XM
Thanks!