Versions Compared

Key

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

...

Allows the user to specify their own attributes, which can then be accessed with the User-defined Color Map (VRayUserColor) and User-defined Scalar Map (VRayUserScalar) textures to provide per-object values for shading attributes. They can also be used in the file name of File nodes to resolve the bitmap file name on a per-object basis. Several attributes can be specified in the string, separated with a semicolon ';' character. User attributes can also be specified on transform nodes. The final string of user attributes for a given object is a concatenation of the user attributes specified on the shape of the object and the user attributes specified on its parent nodes along the DAG path. This allows to conveniently add attributes to a large part of the DAG hierarchy.


UI Text Box
typenote

Starting with V-Ray 5.0, when user attributes are used in the beginning of a file path, V-Ray will treat the path as absolute. For example, if a file node loads a texture from <userAttribute>/texture.png, the path will be treated as absolute.



UI Path

...


||Select mesh|| > Attribute Editor > Attributes menu > VRay > User Attributes

...