Pixelate Shadows Shader/Lighting Function

I have a relatively simple question.

How can I pixelate the shadows through a setting, post process or Light Function?