2D soft shadows


I’m in the process of creating the light engine for my LibGdx project. I’m using box2d’s raycasting to build a light mesh (it is show on the picture).


With this method though I can only create hard shadows and I don’t have any idea how I could make the shadow edges smooth or “realistic” looking.
I was hoping that s’one will be able to shed some light on my issue.