Square Enix © Goodbye Kansas

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Table of Contents

This page provides information on the V-Ray User-defined Color Map.

 

Overview


The VRayUserColor texture can be used to read User-Defined object properties from the currently shaded node and convert them to a color value. This allows you to use the same shading network on several different objects in the scene, but to control various aspects of the material through User-Defined properties. This texture also has the ability to read mesh color sets, UV sets, and extra channel information from VRayProxy File Formats objects, as well as additional data channels from other plugins like Yeti.

The Example on the right uses a VRayUserColor node to control the diffuse value on a single V-Ray Material. The four different pieces of the shader ball have a VRayUserAttribute that dictates different values.

 

 

 

 


Parameters


User attribute name – Specifies the name of the user attribute that is looked up and returned from this shading node.

Default color – Specifies the color to return if the user attribute is not found on the shaded object.

Required format for attribute name – Displays possible formats for the attribute in the V-Ray User Attributes string assigned to the object and what is rendered as a result.

 

 

How to Render Vertex Colors


The VRayUserColor texture can be used to render objects colored with vertex color painting.

Here is how it’s done:

  1. Create a VRayMtl and assign it to the object that has painted vertex colors.
  2. Create a VRayUserColor texture and link it to the Diffuse map slot of the VRayMtl.

3. Open the Color Set Editor from Mesh Display > Color Set Editor and select the object in the viewport. This displays the available color sets in the Color Set Editor dialog.

 

4. In the Color Set Editor, copy the color set name by double clicking on it and then pressing Ctr+C.

 

5. Paste the name in the User attribute name field and render.

 

Notes


  • When rendering with IPR GPU, VRayUserColor supports setting UV and color sets from proxies and regular geometry.
Was this helpful?