Allows the user to specify their own attributes, which can then be accessed with the User-defined Color Map (VRayUserColor) and 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
type
info
Starting with V-Ray 5.0, when When user attributes are used at the beginning of a file path, V-Ray treats the path as absolute. For example, if a file node loads a texture from <userAttribute>/texture.png, the path is treated as absolute and the Maya project path is no longer prepended. To mimic the old behavior, use the fake user attribute attribute <PROJECT_PATH> that forces the path to be interpreted as relative. For example, if you have an old scene with an Image name = <filename>.jpg where 'filename' is not a full absolute path but just the jpg name, you can add the fake attribute in front: Image name = <PROJECT_PATH>/<filename>.jpg and it will be loaded correctly.
UI Path: ||Select mesh|| > Attribute Editor > Attributes menu > VRay > User Attributes
Column
width
5%
Column
width
33%
...
User Attributes
...
Section
Column
width
62%
User attributes – A list of attributes separated by semicolons that are assigned to the mesh.