../_images/pgYeti_shader.png

Shader

Overview

The Shader node is used to create/set attributes in the flow that will be passed to the Renderer to control various shading parameters. The parameters match the Renderman shader that ships with Yeti thus is very specific to that shader and the Renderman renderer although the attributes may be accessed by the other renderers using custom UserScalar/Float/Color/Vector nodes.

Note

At this time this node is very specific to the provided reference Renderman shader, in the future this will likely change.

Inputs

Input Description
0 Data Flow Fibres

Shader

Parameter Description
Color The amount of bend.
Bend Multiplier Can be used to multiply the overall bend value.
Bend Random Used to randomize the amount of bend on a per fibre basis.
Bend Direction A means of rotating the bend direction on a per fibre basis.
Normal The attribute used to define the surface normal, this along with Up Vector is used to define the direction of the bend.
Up Vector The value for the up vector, by default this is the Y axis but this can be a varying attribute to randomize the bend direction.
Color Toggle whether to set/override the color attribute
Diffuse Color The desired diffuse color
Adjust HSV Toggle whether to set/override the HSV value
HSV Adjustment The desired HSV offset
Color Shift Toggle whether to set/override the Color Shift values
Max Hue Shift The maximum amount the hue may shift if Color Shift is toggled on
Max Saturation Shift The maximum amount the saturation may shift if Color Shift is toggled on
Max Value Shift The maximum amount the value may shift if Color Shift is toggled on
Occlusion Toggle whether to set/override Occlusion
Occlusion Color The desired occlusion color
Opacity Toggle whether to set/override Opacity
Base Opacity The desired base opacity
Tip Opacity The desired tip opacity
Specular Toggle whether to set/override Specular
Ks The desired Ks value
Specular Color The desired Specular Color

Example