---
title: "V-Ray Material from File"
canonical: "https://documentation.chaos.com/space/VRHINO/116129811/V-Ray+Material+from+File"
format: markdown
---
This page provides information about the Material from File in V-Ray for Grasshopper.


## **Overview**

---

V-Ray Material from File loads a .*vrmat* file. Click on the field to open a file browser window and select a .*vrmat* file.

![image](media://ece61769-aa29-432f-b927-68e7af345b54)


---


Right-click on the component to open V-Ray Material from File context menu.

Use the options to import your materials or use the material presets from **Cosmos Materials**.

<span style="color: #202124">Note that invalid input file paths are auto-resolved as long as the files reside at the same location as the .gh project file.</span>

> ℹ️ Starting with V-Ray 7, Library Materials are no longer available and have been removed from their default location at C:\Program Files\Chaos\V-Ray\V-Ray for Rhinoceros

![image](media://2eb291a8-cd1f-4a77-ba44-b19bfab1697b)


### Example: **Material from File**

---

**[Download the GH definition here.](https://drive.google.com/uc?export=download&id=1M16i1DW7i7Lj6WxqNCA5aCOAqGe4Pc9q)**

![image](media://23fe75c0-411e-41ed-88ac-3db0112f7d5b)

![image](media://3d58a496-1317-4f6c-9f84-28e4029cebb6)




### **Example: Vertex Color Setup**

---

![image](media://081c9ce7-7abd-481f-a768-8a3f27a865dc)

![image](media://d2516f13-c7b3-49dc-ba51-3e08faa466f3)


![image](media://5215c602-a10b-451e-b924-c8c7c4770e5d)