This page includes details on the V-Ray Hair Sampler texture used with Houdini hair systems.
Overview
The V-Ray TexHairSampler is a utility node that provides extra output attributes which can be used when shading hair.
Used with the V-Ray Hair 3 material, this node allows you to map color, incandescence, and transparency along the length of a hair strand, as well as the ability to randomize such properties on a per-strand basis to create stunning hair looks.
UI path:
||mat Network|| > V-Ray> Texture: Utility > V-Ray Hair Sampler
||out Network|| > V-Ray Render Elements node > V-Ray > Texture: Utility > V-Ray Hair Sampler
Node
The TexHairSapmler node contains the unique input and outputs listed below.
distance_along_strand – Provides information about the shaded part of the hair strand. For the base of the strand, the value is 0.0, and for the tip it is 1.0.
hair_color – Provides information about the diffuse color along the hair strand.
hair_incandescence – Provides information about the incandescence color along the hair strand.
hair_transparency – Provides information about the transparency along the hair strand.
random_by_strand – Provides a unique random floating point value for each strand in the hair system, which can be used with a ramp texture for example to blend between two colors.
Parameters
Strand Max Distance – Allows the user to set the max strand length. Typically, this value should be equal to the longest strand of hair.