shadows far from the cinecamera are distorted

The further I move the camera away from the shadow, the more the shadow appears in this way

What type of shadows are you using? Raytracing, virtual shadow maps?