I'm implementing a shadow map algorithm with a spotlight (a spotlight that always "looks" at a given object).
My issue is that for some configuration, part of the object the light is "looking at" is out of the light frustum. As a consequence everything that is not "seen" is shadowed.
To account for this I tried to increase the field of view of the "light camera", but as a result I get very blocky shadows.
Am I doing something wrong? Is there a more clever way to make sure the light can see the whole object? If not, how can I solve the above said artefact?