---
title: "V-Ray Gradient"
canonical: "https://documentation.chaos.com/space/VRHINO/116130381/V-Ray+Gradient"
format: markdown
---
This page provides information about the V-Ray Gradient Texture Component in V-Ray for Grasshopper.


## **Overview**

---

<span style="color: #172b4d">V-Ray Gradient is a texture consisting of a number of color/position pairs with specific interpolation rule that form a colorful image.</span>



## **Input Parameters**

---

**Type** *(Integer)* – Controls the direction and the shape of the gradient ramp. Changing the type does not affect the color and position of the control points.

**Interpolation** *(Integer)* – Changes the color interpolation method. Changing the option changes the color transition curve between the control point None - Disables the transition.

**Colors** *(Color)* – Controls point colors. One per position.

**Positions** *(Number)* – Position of the control point in a normalized domain. One per color.

**UVW ***(Generic Data)* – Specifies the texture placement within the UVW space of the object.

![image](media://1fac45d4-3543-4633-8f7a-eb4eb2746509)



## **Output Parameters**

---

**V Tex** *(Generic Data)* – V-Ray texture that is plugged into a V-Ray material or other components that require texturing.


### **Example:**

---

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

![image](media://eb9fcfce-b745-4f1d-9b4e-067f02e1beee)

![image](media://5bf2dc10-35f8-4a3d-881d-b52307243159)



## **Notes**

---

- There are no UVs in Grasshopper. For best results, use "Brep" objects from Rhino, which contain UVs.