The 3Delight Hair shader is a physically plausible shader that renders hair and fur using a Monte-Carlo simulation. A Monte-Carlo simulation explores the different light paths inside a medium (in this case, a clump of hair) to produce an image.
An interesting aspect of hair rendering is that all the intricate visual details seen in hair stem from the scattering of light in a multitude of hair strands and is not due to the complexity of a single hair strand. This seemingly simple observation explains why so many complex shaders are not successful at conveying a realistic look for hair. This includes the widely used shaders based on the Marschner model not using volume scattering.
Example renders of blond, red and dark hair. Note the glow caused by light scattering inside blond and red hair. Also note how black hair has All theses features necessitate proper simulation of light scattering in hair clumps. |
The Model
The shader simulates 3 scattering events from one single hair strands and then proceeds with a Monte-Carlo simulation to follow light paths inside the hair volume.
The three principal components of light scattering: Reflection (R), Transmission (TT) and 2nd Order reflection (TRT).
The following images show examples of each component rendered separately.
From left to right:
|
Before explaining the parameters of the shader in detail, please note that :
- There are no diffuse terms. Most shaders have an add-hoc diffuse term to approximate the soft look of hair. In reality, this soft look is caused by light scattering and is not related to a classic diffuse BRDF..
- No control over directly reflected colour. Direct reflections have the same colour as the incoming light. Any coloured visual features are due to light passing through through a strand of hair.
- There are no "glint" parameters. This visual feature is caused by caustics inside each hair. Depending on hair roughness, light gets periodically concentrated in some areas of each hair strand and this causes the so-called glint.
- We don't use secondary/primary highlight nomenclature.
Material Parameters
Parameter | Description |
---|---|
Colour | This is the colour of one hair strand. It is defined as (1 - Absorption). Absorption inside a hair strand is the main parameter driving the overall look of hair. Fair hair has small absorption levels (Hair Colour is closer to white), while dark hair has high absorption (Hair Colour is closer to black). When absorption levels are low, light scatters more so more "glow" is more apparent. |
Thickness | The diameter of one hair strand. The wider the hair the more it absorbs light. 3Delight first computes the absorption levels from Hair Colour and then multiplies that absorption by this parameter to get the actual absorption inside one hair strand. Note that is parameter doesn't affect the geomtric thickness of hair |
Reflection Roughness | This is the roughness of the direct reflection. The range is [0..1] with values closer to one meaning rougher hair. |
Transmission Roughness | This is the roughness of the transmission component of the model. The range is [0..1] with values closer to one meaning rougher hair. |
TRT Roughness | The is the roughness of the TRT component of the model. |
Reflection Weight | |
Transmission Weight | |
Material Output Variables