Use these shading parameters when the Operation setting is set to Render. Otherwise, they do not appear in the Preview/Output tab. See XGen Output Settings.
You can turn on the following Primitive Shader Parameters and Surface Shader Parameters to write this information into the render file so that they may be used by any shader attached to the primitive.
Specifies which parameters to pass to the shader.
The length of the current primitive.
The width of the current primitive (without taper applied).
The tangent of the current primitive at its generation point.
Flag indicating if the current primitive is considered stray.
Count for the current primitive on the current face.
Description index for the current primitive.
A unique integer ID for the current primitive.
A unique float ID for the current primitive.
Specifies which parameters to pass to the shader.
The U parameter of the face the current primitive.
The V parameter of the face the current primitive.
The face ID on the surface for the current primitive.
Geometry index for the current primitive.
The point on the surface for the current primitive.
The point on the reference surface for the current primitive.
The undisplaced point on the surface for the current primitive.
The undisplaced point on the reference surface for the current primitive.
The normal on the surface for the current primitive.
The normal on the reference surface for the current primitive.
The undisplaced normal on the surface for the current primitive.
The undisplaced normal on the reference surface for the current primitive.
dP/du (tangent) on the surface for the current primitive.
dP/du on the reference surface for the current primitive.
The undisplaced dP/du (tangent) on the surface for the current primitive.
The undisplaced dP/du on the reference surface for the current primitive.
dP/dv (tangent) on the surface for the current primitive.
dP/dv on the reference surface for the current primitive.
The undisplaced dP/dv (tangent) on the surface for the current primitive.
The undisplaced dP/dv on the reference surface for the current primitive.
A constant (string) that holds the name of the underlying geometry.
Create a named shader parameter that you can set with a map or expression, and pass to the shader. For example, you can use a custom shader parameter to specify primitive colors at render time.
To add a custom shader parameter, type a Name, select a data type from the list, and then click +. The new shader parameter displays under Custom Shader Parameters.
To delete custom shader parameters, type the parameter Name and then click -.