Skip to main content

Shader

Shader

The Shader node stores shading values, such as a colour or an opacity, on each fibre and passes them to the renderer. It doesn't change how the fur looks by itself: your shader needs to read the values, for example with a user data node (aiUserDataColor in Arnold or VRayUserColor in V-Ray), and use them.

Because the values can be expressions or come from samplers, this is a way to vary shading across the fur from inside the graph, for example to give the tips a different colour from the roots.

Each group of settings has a toggle that turns it on. Only the settings you turn on are passed to the renderer.

Inputs​

InputAcceptsDescription
0FibresThe fibres whose shading values to set. Particles pass through unchanged.

Parameters​

ParameterPassed to the renderer asDescription
ColorTurns on Diffuse Color.
Diffuse Colordiffuse_colorA colour for each point along the fibres.
Adjust HSVTurns on HSV Adjustment.
HSV Adjustmenthsv_adjustHue, saturation and value offsets, for your shader to apply.
Color ShiftTurns on the shift settings below.
Max Hue Shiftmax_hue_shiftThe largest random hue shift, for your shader to apply.
Max Saturation Shiftmax_sat_shiftThe largest random saturation shift, for your shader to apply.
Max Value Shiftmax_val_shiftThe largest random value shift, for your shader to apply.
OcclusionTurns on Occlusion Color.
Occlusion Colorocclusion_colorAn occlusion colour.
OpacityTurns on Base Opacity and Tip Opacity.
Base Opacity / Tip Opacitybase_opacity / tip_opacityThe opacity at the root and at the tip of the fibres.
SpecularTurns on Ks and Specular Color.
KsKsThe specular strength.
Specular Colorspecular_colorThe specular colour.

Diffuse Color is set at every point along each fibre. The other values are set once for each fibre, at its root.