Use a custom-made mental ray for Maya shader in Maya
 
 
 

To use custom-made mental ray for Maya shaders in Maya

  1. Write or obtain a shader declaration file (that is, an .mi file that contains the description of the shader(s)).

    See Write a shader declaration file.

    Tipmental ray user data is now supported in Maya. Declared (with parameters), and Literal (raw bytes) data are translated as two separate nodes in Maya. This applies only to mental ray for Maya custom shader nodes.
  2. Insert the shader into a shader library (.dll on Windows; .so on Linux and Mac OS X).

    For more information on shader libraries, see mental ray for Maya custom shaders.

  3. Load the shader by doing one of the following

    See Load shaders.