Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Section
Column
width60%

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. In the example shown here, the Default color is set to green.

 

UI Expand
titleUI Path: ||Material Editor|| > Material/Map Browser > Maps > V-Ray > VRayUserColor

 

 

Column
width5%

 

Column
width35%

Image RemovedImage Added

 

Parameters

...

Section
Column
width60%

Default color – The color that is returned if the specified user property cannot be found on the currently shaded object.

Default texmap – Specifies a default texture to be used if the user property cannot be found on the currently shaded object.

Attribute name – A string that specifies the name of the User-Defined property.

Column
width5%

 

Column
width35%

...

The text box below the parameters shows the possible formats for the value of the user-defined property. Suppose that we you want to take the texture color from a user property named diffuse_color. Then if we you want to specify red color on one object, we you could specify this as diffuse_color=1,0,0 and if we you want green color on another object, we you could specify this as diffuse_color=0,1,0

...