Alpha clip dither and keep original shadows

I’m applying a dithering effect to my object when the camera gets close, and use the alpha clip threshold to make those dithered pixels transparent. This causes the shadows to appear dithered as well whenever the object is dithered. Is it possible to keep the original shadow (not dithered) of the object?

For reference, I’m using a PBR graph, a surface of “Opaque”, and a blend of “Alpha”.

(I originally posted this in the Shader forums before realizing there was a forum specifically for Shader Graph)

Try this:


This works great, thanks! It would be nice to have this as a node or some documentation in Shader Graph around this. I’ve seen similar questions to this one asked, and no one seemed to have a good solution.

Thank you!

Your solution sets the shader to AlphaTest queue.
Would this here maybe be a better solution?
7745880--974139--ClipFunctionDitheringKeepShadow.jpg