Sub Object Mask Render Element

Hi

I have a model with a Multi/Sub-Object material applied. The model had to be merged together for animating but, is there a way to render a mask for the Material ID sub objects? I’ve tried a number of things but nothing is working.

Thanks,
N

Extra tex using a multisubtex, put in a different rgb / cmy colour for each material in the multi sub and set the render element to exclude all except the object you want. Or try cryptomatte in material mode?

Thanks John, I’ll give it a shot.

That worked!! Thanks John