I have tried blender particle hair modifier , but there seems to be problems with texturing & exporting to gITF or something wrong with importing & exporting particleEmitters
Grass is usually particle system in games. It is made from single plane with texture with alpha channel. So you need terrain plane and grass particle planes put on it. This is theory.
If you use particle in game it will be much more efective than export this from blender - but I send you general idea how to do that in blender. See file.