Is there a way to get hard pixelated shadows?

I’m making a game in URP and it has a similar style to a short hike and pako 2, but when i try to make the shadows hard and low resolution the edges get filtered and look bad.

Here are some photos of what I’m looking for:


tube

This is what I currently have:
unknown

Thanks for any help.

If you’re looking for stylized shadows then study this www.github.com/chrisloop/WetShadows github repo.

https://github.com/chrisloop/WetShadows/raw/master/pic.png
_
One of the first things you may want to edit there is that noise texture in

Wet Shadow.shadersubgraph asset:
alt text
and maybe make shadow edges hard by rounding shadow value in Wet.shadergraph here:
alt text

_