This video shows you how to create Custom channels for 3D compositing in Nuke.

Whether you want to do your own Custom-pass Compositing or use mattes for different objects you have rendered in Nuke, this tutorial has everything you need.