GetUserData Vector Shader
The Crowd Get User Data Vector Shaders for Renderman Studio are two Renderman Studio shaders (one for REYES and one for RIS) which are able to read a vector user data of a given name stored in the currently rendered mesh, and return its value. This data can be used to feed other shaders in Maya that have a vector or color input. Refer to the Shader Attributes page to know how to store vector user data in a mesh.
Result of a Get User Data Vector Shader combined with a Surface Shader and different user data values.
To create a Crowd Get User Data Vector for Renderman Studio, the Renderman Studio plugin (Renderman_for_Maya) must be loaded.
- Hypershade: RenderMan/REYES / Utilities / CrowdGetUserDataVectorRMS
- MEL command: createNode CrowdGetUserDataVectorRMS;
- Hypershade: RenderMan/RIS / Patterns / glmCrowdRMS_RIS_GetUserDataVectorShader
- MEL command: createNode glmCrowdRMS_RIS_GetUserDataVectorShader;
|Param Name||Name of the vector user data attribute to read in the rendered mesh. The name of the user data should be the same than the one defined in the Shader Attributes of the Mesh.|
|Default||Default value to return if no matching user data was found in the Character File|
Shading Graph Integration
Their Shading Graph integration is similar to the Mental Ray shaders: GetUserData Vector