---
title: "PxrSurface for Mari"
canonical: "https://rmanwiki-26.pixar.com/space/REN26/19661961/PxrSurface%20for%20Mari"
format: markdown
---
![image](media://77635d06-a21d-4d19-8994-16f1cca14681)

> Macro (toc)

### Welcome to PxrSurface for Mari

RenderMan for Mari provides [PxrSurface](https://renderman.atlassian.net/wiki/spaces/REN26/pages/19661415) support in Mari 4.5+, 5.x & 6.x  
  
  


---

### Installation

Simply copy all the downloaded files from the RenderMan for Mari folder into the following default Mari script location

| Os | Location |
| --- | --- |
| Windows | C:\Users\<user>\Documents\Mari\Scripts |
| Linux | /home/<user>/Mari/Scripts/ |

  
  


> ℹ️ For installation into custom locations, you can reference the Mari [documentation](https://learn.foundry.com/mari/Content/Software_API_Overview/Using_Python/python_in_mari.html#SavingorImportingaScript)    
> ℹ️ *(note that this link is external to RenderMan and may change)*

  
  


---

### Known Limitations

#### PxrSurface

- The following features are <u>not implemented</u>:
  - Point light support
  - Specular anisotropy
  - Per-lobe bump
  - Clearcoat absorption.
  - Subsurface scattering only supports the subsurface color and renders it as a diffuse lobe.
  - All volumetric effects: subsurface scattering, single-scattering, glass absorption
- Feature limitations
  - It is impossible to perfectly match a RenderMan render (GLSL and Mari limitations).
  - Transparency is not supported (Mari limitation).
  - Roughness isn't a perfect match (Mari Limitation).

#### Mari integration

- 
  - Environment map switching doesn't work in Mari 4.5 (API bug) but is functional in the next release.
  - Conditional visibility is not supported by Mari: all PxrSurface parameters are always visible.
  - Nested parameter groups are not supported by Mari: all PxrSurface parameter groups are always visible.