Render only Selected object with thier shadow in transparent png format

Hey there,

recently i was working on work and i faced a issue while rendering the object with it’s shadow in transparent png file so that i can use that output render to place it on any other background image.

as you can see i have attached a screenshot of my scene, i only want that object and it’s shadow, i tried using shadowcatcher material but it’s also appearing in outpu render.

In whole scene there’s only main object-Ground plane for shadow and HDRI.

Please help me with this issue.

You need to change alpha mode to “for compositing” in shadow catcher material and set background to black colour in render setup>enviroment overrides.