Problems with shadows and Foliage System

Hello, I’m having trouble with shadows and the foliage system.
As you can see from the screenshots below the same mesh, not used inside the foliage system creates a good shadow and adapts to the shadow from the mesh behind the camera, instead the meshes in the foliage system doesn’t change like the others do.
I’m attaching also the foliage options, I guess they are correct tho.
Thank you for your help.

Hello, I found the solution to my own problem, I just needed to activate the cascaded shadow maps, now everything seems to work fine.

To activate it just go into directional light’s details and change the settings to this: http://oi62.tinypic.com/uwri0.jpg

Cheers,
Ikos.