Here’s a way to output single matte pass for multiple objects/shaders using writeToColorBuffer node in Mental Ray. This is handy in situations when you want a combined matte pass for various shaders applied to multiple objects. For e.g: say you have a room where roof comprises of various elements like main roof, fan lights, false […]