---
title: "Hair Sampler Node"
canonical: "https://documentation.chaos.com/space/VC4D/116854611/Hair%20Sampler%20Node"
format: markdown
---
This page provides information about the Hair Sampler node in V-Ray for Cinema 4D.


## **Overview**

---



## **Parameters**

---



## **Examples**

---


### Random by Strand


The Hair Sampler node is set up by connecting an output from to a 2D-driven texture ([Color to UVW](https://docs-chaos.atlassian.net/wiki/spaces/VC4D/pages/116852156)); most commonly a [Ramp](https://docs-chaos.atlassian.net/wiki/spaces/VC4D/pages/116857000). This example shows the Hair Sampler's **Random By Strand** output to control the V channel of the Color to UVW node, connected to a Ramp node. The Ramp's output is connected to a [V-Ray Hair Next Material](https://docs-chaos.atlassian.net/wiki/spaces/VC4D/pages/116851056)'s **Dye Color** parameter.



---


### Distance Along Strand


Here, the Hair Sampler is used to create variation in the color along the length of a hair strand to give hair a more natural look. This is done by using the Hair Sampler's **Distance Along Strand** output to control the V channel of a **Color to UVW**, connected to a **Ramp** node. The Ramp's output is connected to a **Hair Next** 's **Dye Color** parameter. Note that the full Ramp is mapped along each strand regardless of the strand's length.



---


### Distance Along Strand Absolute




---


### Position Across Strand