PDA

View Full Version : changing default MR shaders directory


praetorian
05-28-2008, 12:41 PM
Hi !
By default mayaMR looks fro shaders in it's install directory, you don't even have to explicitly link new shaders through .rayrc file.
Is there any way to point maya to autoload shaders from a different dir? I'd also like to do this by Maya.env file, or maya.rayrc file

We have a bunch of renderfarm nodes, and it would be easier if they get shaders from single netowrk location. (We already do this with mel scripts - each instalation of maya is configured with single Maya.env and userSetup.mel files)

cheers

acidream
05-28-2008, 07:23 PM
edit your maya.env and set
MI_CUSTOM_SHADER_PATH to the folder with your include files and set
MI_LIBRARY_PATH to the folder with your lib files.

CGTalk Moderation
05-28-2008, 07:23 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.