preview.mp4
This is an interactive grass shader. It fakes some wind (strength and speed is adjustable) and also bends around specified objects.
Cutting grass works by shrinking it to 0.1f height and emitting particles at the cut position. Collision and growing is calculated using a script but the grass is drawn using GPU instancing command using an optimized array with all the information like size, bending etc. The wind bending is done using noise function in the vertex shader.
Look at complete setup in GrassScene
.