How to add a 3D object behind a person segmentation?

How can I add a 3D object as a background behind the person segmentation?

I don’t remember exactly how it works but I think you can change the render order of your 2d camera so it’s higher than the 3d camera.

Screenshot 2022-12-12 at 11.05.03 AM

Thanks for the answer, I found some documentation, but it’s a bit outdated. Should I use one 3d camera and one 2d camera at the same time?

You can use as many as you want, just be sure to check your camera, render target, and layer settings on your objects so they render in the correct camera. Sometimes I will render out the 3d on one camera and then use a 2d camera to do compositing and post processing.

This article should give you a good idea of how to set up different cameras

Thank you so much, this is very helpful!