---
title: "VRayMtlOSL"
canonical: "https://documentation.chaos.com/space/VMAYA/111740026/VRayMtlOSL"
format: markdown
---
This page provides details on the settings available for the OSL Material in V-Ray.

** **

## **Overview**

---

<details>
<summary>UI Path: ||Right-click on the geometry|| > Assign New Material...</summary>

||Right-click on the geometry|| **>** Assign New Material... **> VRay** section **> VRay Mtl OSL**


![image](media://ec6ec942-9acf-4601-9ed9-8ed6bed38628)


||V-Ray Shelf|| **> **Right-click to** Create V-Ray Materials **button **> VRay Mtl OSL**


![maya2025_72010_Shelf_VRayMtls.png](media://ec55c401-f102-46c5-9596-e1e7ce7d1bbc)


||Hypershade||** > Window** tab** >** **Create... > VRay **section **> VRay Mtl OSL**


![image](media://84ca6e8a-b0c7-479f-9be5-f45886b39a75)
</details>



## **Basic Parameters**

---


## **Shader Attributes**

---

## **Notes**

---

- The VRayOSLMtl material automatically compiles [OSL](https://github.com/imageworks/OpenShadingLanguage/) shaders to object code (OSO format) upon shader selection. No following compilations occur (even at render events). If the loaded  [OSL](https://github.com/imageworks/OpenShadingLanguage/) shader is modified use the context menu options **Reset** or **Reload** of the **Shader file** button for your changes to take effect.
- An [OSL](https://github.com/imageworks/OpenShadingLanguage/) compiler that translates *.osl files to *.oso files can be found in the tools subdirectory of V-Ray's root installation folder.
- **Open Shading Language**<span style="color: #172b4d"> version </span>**1.10** is supported.

## **References**

---

- [OSL home page at SPI](http://opensource.imageworks.com/?p=osl) - Open Shading Language home page at Sony Pictures Imageworks
- OSL Google Code page - Google Code project page for Open Shading Language
- [OSL GitHub page](https://github.com/imageworks/OpenShadingLanguage/) - GitHub project page for Open Shading Language