Multi-Pass output for layered materials (custom AOV)

Hi all,

Is there an option to output the opacity of a layered material as a multi-pass? I have two materials with their own Material ID. When they are stacked in C4D I only get an output for the top material. With Redshift this is possible by using custom AOV’s. Is there something like this in Corona?

Thanks,
Joost