It is possible to create arbitrary user data that can be attached to any object. This user data can then later be used at shading time by specific nodes with a user prefix.

Information about User Data shaders can be found here.


The convention used to store the user data can be found in different data types such as color, float, etc. For example:

  • Create a Color type user data in C4D and call it 'My Color':
  • Create an Arnold Material and read the 'My Color' user data via a user_data_rgb shader.

Only alphanumerical characters, dashes (-) and underscores (_) are allowed in the parameter name. Arnold converts all other characters (including spaces) to underscores. For instance in the above example 'My Color' becomes 'My_Color', which you have to set in the user_data shader. Also note that parameter names are case sensitive.

You can check the Arnold parameter name if you export the scene to an .ass file and look for the user parameter as follows:

If display color of an object is enabled we will export the 'display_color' RGB as a user data.

A video tutorial that demonstrates the use of the user_data_string shader can be found here.

A tutorial on how to use the user_data_RGB shader can be found here.

  • No labels