Additional Resources on Programming mental ray Shaders for XSI
This section tells you where to find additional information about programming mental ray shaders.
Shader Source Examples included with XSI
The following shader source code examples are included in the XSI SDK examples workgroup :
• ShowEdges: A basic shader that highlights the edges of a triangulated object. This shader is used to explain the concepts outlined in Writing the Shader: An Overview.
• Wireframe: Unlike ShowEdges, this shader draws the true edges (the edges present before tesselation) of the mesh based on information passed to it by UserDataBlob properties. For more information about user data in XSI, see Storing Custom (User) Data.
The following mental ray guides are installed with XSI and can be found in the XSI installation path under /Doc/mental_ray/:
• mental ray manual
• mental ray shaders
• mental ray lume
SOFTIMAGE|XSI v6.01