Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Bit of a strange one but I'm in the situation where i need a shader to essentially render nothing and cast a shadow!
I found this though some googling but sadly that casts shadows onto itself which is undesirable.
As mentioned in the comment by DMGregory, there is an option in the renderer to do this...
Required, but never shown