How to render only the shadow from this scene?
here’s the file if anybody wants to take a look
In Cycles, you could just override the non-transparent materials with a white Diffuse BSDF.
(Eevee, on the other hand, has a shadow pass in the view-layers’ passes)