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 and is capable of maintaining more skin surface detail when used as a subsurface scattering method for skin compared to the traditional Scattering medium node. The Random Walk parameters are similar to the Scattering node's parameters with a few exceptions (figure 1).
|
Random Walk |
Figure 1: The Random Walk Medium used to create a waxy or skin-like surface
Random Walk Parameters
Density - This parameter multiplies against Scattering.
Volume Step % - Depending on the surface, you may need to adjust this parameter as it is specified as a percentage of the voxel size. The default value is 100%, 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 the Volume Step % 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 % as small as possible.
Volume Shadow Ray Step % - 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.
Single Scatter Amount - Determines how often direct light is calculated in volumes, as a ratio of scatter events.
Sample Position Displacement - Allows a texture to control a volume's sample position displacement.
Volume Padding - Expands the volume bounding box by the given percentage in all six directions, but only if sample position displacement is being used.
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 where black provides no scattering and white fully scatters. A color node or a float value can be used with this attribute as well. A color node's Value amount plays an important roll with this attribute. A darker value will scatter this color less and a lighter value will scatter this color more.
Bias - The bias of the subsurface scattering. Higher values use biased sampling, which usually yields better results with lower depth settings.
Compatibility Mode
- Latest (2024.1): Default
- 2023.1 Compatibility Mode: The volume ray matching step length is an absolute length and the voxel size is ignored.