Random Walk

 

The Random Walk node is a newer variant of subsurface scattering that utilizes a stochastic or random process for the scattering of light through an object. This provides the most realistic result when rendering scatter volumes. The Random Walk parameters are similar to the ScatteringDefines how fast light gets scattered when traveling through the medium. node's parameters with a few exceptions (Figure 1).

Random_Walk_Fig01_SE_v2020

Figure 1: The Random Walk parameters.

 

Random Walk Parameters

Density - This parameter multiplies against Scattering.

Volume Step Length - Depending on the surface, you may need to adjust this parameter. The default value is 4, but if the volume is smaller than this, you need to decrease the value. Decreasing this value decreases render speed, and increasing the value causes the ray marching algorithm to take longer steps. If Volume Step Length exceeds the volume's dimensions, then the ray marching algorithm takes a single step through the whole volume. To get the most accurate results, keep Volume Step Length as small as possible.

Volume Shadow Ray Step Length - The step length that is used by the shadow ray for marching through volumes.

Use Volume Step Length for Volume Shadow Ray Step Length - If active, uses Volume Step Length as Volume Shadow Ray Step as well.

Sample Position DisplacementThe process of utilizing a 2D texture map to generate 3D surface relief. As opposed to bump and normal mapping, Displacement mapping does not only provide the illusion of depth but it effectively displaces the actual geometric position of points over the textured surface. - Allows a texture to control a volume's sample position displacement.

Albedo - The scattering albedo where the coefficients are determined for this parameter using the mean free path.

Radius - Determines the depth that the light scatters in the medium.

Bias - The bias of the subsurface scattering. Higher values use biased sampling, which usually yields better results with lower depth settings.