For example we have simple shading network with misss_fast_simple_maya shader and we want use this scattering effect with p_MegaTK.
Simple miSSS shading network
Render result misss_fast_simple_maya shader
Create p_MegaTK shader (or any mental ray shader you want).
Connect misss_fast_simple_maya shader to 'Ambient Color' or 'Incandescence' of p_MegaTK.
Open Attribute Editor of misss_fast_simple_maya1SG and connect p_MegaTK shader to 'Material Shader' slot instead of misss_fast_lmap_maya shader.
Original misss_fast_simple_maya1SG | Modified misss_fast_simple_maya1SG |
Result graph
Adjust amount of Ambient ('Coefficient Ambient' in p_MegaTK) and Render.
Render result of p_MegaTK shader with misss_fast_simple_maya
Render result of p_MegaTK shader with reflection with misss_fast_simple_maya
You may also disable specular and diffuse in misss_fast_simple_maya or p_MegaTK shader to avoid computing it twice.
Well done. You may use this method for adding scattering effect to any mental ray shader. If your shader have no 'Ambient Color' or 'Incandescence' you may use mib_color_mix shader(or any layer shader) for adding scattering (use 'Add' or 'Screen' mode).