Stylized Grass Shader
9.Using custom meshes
The package includes several pre-made grass prefabs, ready to use. If you’re looking to use your own grass meshes that is possible as well.
For the shading and animations to function properly, the top part of the mesh must have vertex colors painted into it (only the red color channel is needed). You can do this in any 3D modeling tool. Please refer to their manuals on how to achieve this.
This information denotes which parts of the grass should be not be affected by wind or bending. It is also used as a mask for the Ambient Occlusion parameter.