Im trying to install the Dirtmap Occlusion shader for and the readme says this-
Dirtmap appears in the HyperShade at the Create mental ray Nodes/Miscellaneous tab.
If you don't have this tab than create an environmental variable called
MAYA_MRFM_SHOW_CUSTOM_SHADERS set it to 1 and restart Maya. It will enable the display of MR nodes.
and I'm not sure I quite understand. Am I to start a new environement variable in my control panel system settings and just set it to 1 (which didn't seem to work for me when I tried it) or is there a place to start a new variable in either maya or the hypershade. Anyhelp is good help. Lat.
Go to your 'maya.env file, (usually in the 'maya' folder inside:C:....... 'Documents and Settings' - if it's not there, create a new one) and type in:
MAYA_MRFM_SHOW_CUSTOM_SHADERS = 1;
then fire up Maya. The 'custom MR shaders' should then be apparent in your 'HyperShade'.
BTW: You can alternatively create a new 'PATH' in 'My Computer' reading:
MAYA_MRFM_SHOW_CUSTOM_SHADERS
and set the value to:
1
Dirtmap (2.1) installation:
you will also need to add these lines to your 'maya.rayrc' file:
(situated in the mentalray directory of your Maya 5.0 installation)
link "{MAYABASE}/lib/Dirtmap.{DSO}"
mi "{MAYABASE}/include/Dirtmap.mi"
Atwooki