GetUserDataInt

The CrowdGetUserDataIntMentalRay can be used to get an integer value from the asset manager and feed it in shaders.
 
It can be created using the following methods:
  • Hypershade: MentalRay / Materials / CrowdGetUserDataIntMentalRay
  • MEL command: createNode CrowdGetUserDataIntMentalRay;
 
The Get User Dat a Int MentalRay attributes
 
This node only contains:
 
Param name a shader attribute name found in the asset manager configuration from which the outvalue should be read
Default the default value to use if the corresponding shader attribute is not found
 
Shader attribute configuration in the asset manager
 
Notice that the name of the shader attribute in the asset manager is the same as the name declared in the GetUserDataInt shader.
The value of this shader attribute will be randomized between Minimum and Maximum value and passed to the GetUserDataInt to be fed in other shaders.
Notice that it is also possible to feed this attribute from a PP attribute value.