---
title: "VRayUserColor"
canonical: "https://documentation.chaos.com/space/VMAYA/111740626/VRayUserColor"
format: markdown
---
This page provides information on the V-Ray User-defined Color Map.


## **Overview**

---


## **Parameters**

---


## **Examples**

---

### Example: User Properties


In the example below, user attributes are assigned to different objects with different values. A VRayUserColor texture reads the values and passes them to a shader at render time. This way we can pass different shader values that are controlled at the object level, allowing us to share the shader between all objects.

With the help of a user attribute we can control any color parameter of the shader.


User attributes can be added though the Attributes > VRay > [User attributes](https://docs-chaos.atlassian.net/wiki/spaces/VMAYA/pages/111739139) menu.


![image](media://03513dd8-3657-466a-9c0b-3a8e6822313b)

The same material is applied to both objects. A VRayUserColor texture passes the values to the shader.



![image](media://5a64b107-27c3-4cfd-9c07-bed46ce062ce)

Although the two objects have the same material, the diffuse color is determined by the user property.



### Example: Animated Custom Color Attribute










### **Example: Rendering Vertex Colors**


## **Notes**

---

- When rendering with IPR GPU, VRayUserColor supports setting UV and color sets from proxies and regular geometry.