How to render only the object’s shadow in Eevee

To render only the shadow of the object in Blender Eevee:

  1. Assign to the object the default material with the Principled BSDF shader and set its Alpha value to 0.

  1. In material properties switch the Blend Mode to “Additive” or “Alpha Clip”.