Hello guys,
I am struggling with getting to properly shade houdini’s hair. Excuse me, I am not sure if it is more question for Houdini or Vray forum but if anyone could point me in the right direction, I would be happy…
1) I would need to have a ramp along “V” map parameter to have fine control of the strand from tip to top. I can use Hair Sampler to mix different textures but if I would like to have a finer control through gradient?
2) How to have some control over randomization of hairs? Typically in tutorials for different render engines I can see the technique goes like this: you create ramp with your desired set of colors and plug the randomization number to asses randomly your strands color to the position on the gradient.
3) This is more specific Houdini question but anyway, maybe I would be lucky here - I have mapped head which is used to generate hair. How to use heads UV texture for mapping the hair?
Thanks a lot!
Haha ad 1) Solved - just plug HairSampler distance along strand to “position” in Ramp and change type to “Position”… Do not know how I managed to overlook this.
Hello @woytha
you are right about HairSampler to gradien_position of GradientRamp
here setup is similar, but instead “distance_along_strand” use “random_by_strand” output
be sure the uv attribute is added in Output Attributes of Attributes tab of Hairgen Node and set it as “UV Name” in UV tab of ImageFile VOP or V-Ray Channel Name VOP
Perfect. Thanks, thanks, thanks!



