# Not sure I understand (2)

**URL:** https://forum.highend3d.com/t/not-sure-i-understand-2/46558
**Category:** Maya
**Tags:** mental-ray
**Created:** [January 17, 2004, 6:38pm UTC](https://forum.highend3d.com/t/not-sure-i-understand-2/46558 "2004-01-17T18:38:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![richard-schmidbauer](https://forum.highend3d.com/user_avatar/forum.highend3d.com/richard-schmidbauer/32/274_2.png) [@richard-schmidbauer](https://forum.highend3d.com/u/richard-schmidbauer)
#### Post date: [January 17, 2004, 6:38pm UTC](https://forum.highend3d.com/t/not-sure-i-understand-2/46558/1 "2004-01-17T18:38:11Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![atwooki](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/a/919ad9/32.png) [@atwooki](https://forum.highend3d.com/u/atwooki)
#### Post date: [January 18, 2004, 6:22pm UTC](https://forum.highend3d.com/t/not-sure-i-understand-2/46558/2 "2004-01-18T18:22:51Z")

</div>

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
