Camera.RenderWithShader() and Screenspace Shadows not rendering correctly?

Hello!
I am trying to do some rendering and shadow analysis on flat objects. I have developed an algorithm that works fine, but I would like to speed it up more.
I found that i can use Camera.RenderWithShader() along with the “Hidden/Internal-ScreenSpaceShadows” shader to render the sssmap and it’s twice as fast but the shadows don’t look right:

Is there some settings i need to change?


Thanks!

Wouldn’t mind literally any input on this, as I am not sure if this is even a good way to approach this !