Obtain pixel footprint for asset

How do I obtain the pixels on the camera plane covered by an object in a rendered scene. I would like to have the rendered scene, accompanied by something like a boolean array with zeros for all projected points that do not come from the object, and ones for all points projected to the camera plane from the object.

Hi, I’m not quite sure I understand what you want, but if I understand it correctly, then you’re looking for “Custom Depth”.