Here's a zip file containing a simple project that showcases a nice technique you may use to improve the look of your grass foliage instances when painting a grass layer on a landscape.
Using a virtual texture, this method allows your grass instances to smoothly grow and fade in as you paint a stronger and stronger value for your grass material layer on your landscape. The grass will also remain straight regardless of the landscape slope while maintaining ground contact, which looks more natural by baking the grass height data into UV coordinates, flattening the mesh upon export and reconstructing the mesh height from that data stored in UVs.
Here's a link to a video explaining how it works in more details: https://www.youtube.com/watch?v=oFKFRZZk3QA
I hope it's useful to some of you :)
Have a good day!