Tim Weiser with a quick tip… well more of an overview really on how to get render passes out of mental ray’s mia_material_X shader from Maya using custom color buffer. I don’t blame him really, its sounded like his computer was about to blow!
Tim’s Technicals – Frame Buffer Setup from Tim Weiser on Vimeo.
For a more detailed look into Custom Color Buffers, check out Ashman’s Post on Specialized passes: Material ID, Object ID and UV Pass Tutorial
and also, using the new “use transparency” of the custom color pass feature here.