This is the tool I created for easy assignment of RGB Mattes for the objects in the scene during the maya render process.For those who havn’t used RGB matte passes in render, RGB matte passes help in extracting individual 3d elements from a maya scene render containing multiple objects. This handy tool helps in creating mattes for ambient, diffuse, Incandescence, and reflect channels with the click of a button.
The usage of the script is as follows source ak_rgbMatteTool.mel; ak_rgbMatteTool();