p_MegaTK - surface shader for slit out many passes for one render.
Supported: Diffuse, Shadow, Specular, Indirect, Reflect, Refract, Diffuse Occlusion, Ambient Occlusion, Ambient, Bent Normal, Incandescence, Z and two additional passes (specialC1 and specialC2)
Full size Atribute Editor screen shot
Shader assigned as common surface shader.
Don't forget use only p_TK lights!
Shader correctly split out passes with mental ray version 3.4 and higher(recommended 220.127.116.11+). For spliting out passes you may use p_MegaTK_pass geometry shader or if you have mental ray stand alone you may use my mel script maya_to_mental (version 0.8.8 or higher)
Shader work correctly only with p_TK lights. Shader should work with standart lights, but without correct split out passes.
Mental Ray 18.104.22.168 and lower crash when you try filter more them 5 custom frame buffers. (Fixed in MR 22.214.171.124)
Go to Download
Tutorial and Example scene Here
If you find any bugs or you have any suggestions please mail me to firstname.lastname@example.org