Weird shadows on distant grass Foliage using Raytracing and Megascan?

Hi there,Use DistanceField shadows as well as Cascade shadows both on Directional light i think it will work for you