This page provides a tutorial for using the Hair Information Map with V-Ray Hair Material and hair geometry out of the Ornatrix Plugin.
This tutorial will cover the standard setup for using the VRayHairInfoTex texture node to add variation to a hair system out of Ornatrix. For more information on the node itself, please see the VRayHairInfoTex page.
The VRayHairInfoTex is set up by connecting it to the diffuse and overall multiplier of a VRayHairMtl, with the VRayHairInfoTex set up to use an output of Distance Along Strand or Random By Strand.
This tutorial also works with the free demo version of the Ornatrix Plugin.
To download the files used in this tutorial, please click on the button below. The Ornatrix Plugin will need to be installed in order to work with the geometry.
In this tutorial, we will create color variations over the hair using the VRayHairMtl and VRayHairInfoTex.
Apply VRayHairMtl to hair system
Start by adding a VRayHairMtl to the hair object and set the preset to use the Blond shiny preset as a basis.
- Do a test rendering to see the result.
Set up Nodes
- Create a VRayHairInfoTex node.
- Connect the output of the VRayHairInfoTex node to both the diffuse_texture and overall_texture multiplier of the VRayHairMtl.
- In the VRayHairInfoTex parameters, either the Position along strand or Random by strand index parameter can be selected for the node's output.
Color the Hair
- Open the VRayHairInfoTex and set color A and color B to blue and pink respectively, as shown below. The Random by strand index option allows different strands to receive different colors, as opposed to changing the color along the strand of each hair when using Position along strand.
- Experiment with different colors and bias values in the VRayHairInfoTex to achieve the desired look.
Random by strand index
Position along strand