shader shadow look bad when getting closer it become very black

I made a shader matriel it look amazing and evreyting, but there is one problem , its when i go close to a shadow with the shader from distance it look good but when i go near it become dark black i cant see my character when it goes in it

this is the materiel also its materiel domain ; post process
and blendable location: before tonemapping