Soft shadow artefacts

We are having some trouble with soft shadows…

When we set softShadows=true, we get this:

Any idea how to avoid this?

Are these artifacts fixed by using a higher resolution shadow map (try doubling the size)? Or a higher resolution in generation (try doubling the viewer.resolutionScale).