"Object rendering filter" for cameras

Hi Matt!

I just stumbled upon your post when looking for answers to an adjacent question.

I’m trying to create an AR render to composite on top of a camera feed in an external software (utilizing LiveLink FreeD and NDI), and started wondering if it would be possible to render a shadow without having to render the object it’s being cast on, in order to have the AR objects appear to cast shadows onto the real set (see image 1).

Do you have ideas on how this could be achieved? A filter of sorts was my first idea, which landed me here, but on second thought that may pose some challenges.

Cheers!

-Topi

Image 1: Pillar on a plane on which a shadow is being cast, composited on a live camera feed of a stage.