Native mental ray light linking

mental ray for Maya uses native mental ray light linking. Shaders are not responsible for their own light linking. All the Maya linking information is automatically handled by the mental ray core and shaders automatically receive the relevant light information.

All of the mental ray shaders provided with Maya have been set to automatically work with this feature. The light linking mode has been preset for you.

This feature also simplifies your workflow for integrating custom mental ray shaders. Previously, to make use of Maya light linking, shaders would have required special purpose code. This code can now be safely removed. Refer to the examples and readme.txt in mentalrayForMaya201x/devkit/docs/writingShaders for more information.

Light linking modes

All mental ray shaders have a choice of 4 light linking modes. You can set this mode under the Light Linking section of the mental ray shader node.