Most attributes MayaMan uses are either accessible through the MayaMan globals or per-model dialogs. However, there are some attributes that are less commonly used, that MayaMan will heed if they are present. The following page lists these attributes and tells you where to put them and how they affect the rendering.
setAttr MayaManNugget.EnableCameraClipping 0
| Passtype Attribute | Description |
| beauty | the top level render |
| shadow | any type of shadow or Z buffer run |
| reflection | a cube face reflection map pass |
| flatmirror | a flat mirror pass |
The data can be accessed like this in a shader:
uniform string passtype = "beauty"; /* assume it's a beauty pass */
attribute("user:passtype", passtype); /* get the value */
/* do different things based on the pass type */
if(passtype == "shadow") {
...
} else if(passtype == "flatmirror") {
...
} else if(passtype == "reflection") {
...
} else { /* assume it's a beauty pass */
...
}