This page provides some details on the settings available for the Fast SSS Material in V-Ray.
Preset – Specifies one of several available preset materials. Most of the presets are based on measured data provided by Jensen et al.[ 3 ]. For more information, see the VRayFastSSS2 Presets example below.
Scale – Additionally scales the subsurface scattering radius. Normally, VRayFastSSS2 will take the scene units into account when calculating the subsurface scattering effect. However, if the scene was not modeled to scale, this parameter can be used to adjust the effect. It can also be used to modify the effect of the presets, which resets the Scatter radius parameter when loaded, but leave the Scale parameter unchanged. For more information, see the Scale example below.
Index of refraction (IOR) – Specifies the index of refraction for the material. Most water-based materials like skin have an index of refraction of about 1.3.
This example shows the effect of the Scale parameter. Note how larger values make the object appear more translucent. In its effect, this parameter does essentially the same thing as the Scatter radius parameter, but it can be adjusted independently of the chosen preset. The images are rendered without GI to better show the sub-surface scattering. The Single scatter parameter was set to Raytraced (solid).
Overall color – Specifies the overall coloration for the material. This color serves as a filter for both the diffuse and the sub-surface component.
Diffuse color – Specifies the color of the diffuse portion of the material.
Diffuse amount – Controls the strength of the diffuse component of the material. Note that this value blends between the diffuse and sub-surface layers. When set to 0.0, the material does not have a diffuse component. When set to 1.0, the material has only a diffuse component, without a sub-surface layer. The diffuse layer can be used to simulate effects such as dust on the surface.
Sub-surface color – Specifies the general color for the sub-surface portion of the material. For more information, see the Sub-Surface Color example below.
Scatter color – Specifies the internal scattering color for the material. Brighter colors cause the material to scatter more light and to appear more translucent; darker colors cause the material to look more diffuse-like. For more information, see the Scatter Color Example below.
Scatter radius – Controls the amount of light scattering in the material. Smaller values cause the material to scatter less light and to appear more diffuse-like; higher values make the material more translucent. Note that this value is always specified in centimeters (cm); the material will automatically take care to convert it into scene units based on the currently selected system units. For more information, see the Scatter Radius example below.
Phase function – Specifies a value between -1.0 and 1.0 that determines the general way light scatters inside the material. Its effect can be somewhat likened to the difference between diffuse and glossy reflections from a surface. However, the phase function controls the reflection and transmittance of a volume. A value of 0.0 means that light scatters uniformly in all directions (isotropic scattering); positive values mean that light scatters predominantly forward in the same direction as it comes from; negative values mean that light scatters mostly backward. Most water-based materials (e.g. skin, milk) exhibit strong forward scattering, while hard materials like marble exhibit backward scattering. This parameter affects most strongly the single scattering component of the material. Positive values reduce the visible effect of single scattering component, while negative values make the single scattering component generally more prominent. For more information, see the Phase Function example and Phase Function: Light Source example below.
This example and the next demonstrate the effect of and the relation between the Scatter color and the Sub-surface color parameters. Note how changing the Sub-surface color changes the overall appearance of the material, whereas changing the Scatter color only modifies the internal scattering component.
The Scatter color is set to green.
The Sub-surface color is kept to green.
This example shows the effect of the Scatter radius parameter. Note that the effect is the same as increasing the Scale parameter, but the difference is that the Scatter radius is modified directly by the different presets.
This set of images is based on the Milk (skimmed) preset.
This example shows the effect of the Phase function parameter. This parameter can be likened to the difference between diffuse reflection and glossy reflection on a surface. However, it controls the reflectance and transmittance of a volume. Its effect is quite subtle, and mainly related to the single scattering component of the material.
The red arrow represents a ray of light going through the volume; the black arrows represent possible scattering directions for the ray.
This example demonstrates the effect of the Phase function parameter when there is a light source inside the volume. The images are based on the Skin (pink) preset with large Scatter radius and Single scatter set to Raytraced (refractive) with Index of refraction (IOR) set to 1.0. Front lighting and Back lighting are disabled for these images; only single scattering is visible.
Note the volumetric shadows cast by the light inside the volume.
Specular color – Specifies the specular color for the material.Specular amount – Specifies the strength of the specular component for the material. Note that there is an automatic Fresnel falloff applied to the specular component, based on the Index of refraction (IOR) of the material.
Multiple scattering – Specifies the method used to calculate the subsurface scattering effect.
Raytraced – True raytracing inside the volume of the geometry is used to get the subsurface scattering effect. This method is physically accurate and produces the best results.
Prepass-based illumination map – Uses an approach similar to the irradiance map to approximate the sub-surface scattering effect. It requires a prepass and the quality of the final result depends on the Prepass rate parameter
Object-based illumination map – Similar to the Prepass-based illumination map in that it also creates an illumination map used to approximate the final result. The only difference is the method used for sample placement. Rather than using the resolution of the image as a guide, the samples are placed based on the surface area of the geometry. When this mode is used the final quality depends on the Samples per Unit Area parameter.
Prepass rate – VRayFastSSS2 accelerates the calculation of multiple scattering by precomputing the lighting at different points on the surface of the object and storing them in a structure called an illumination map. An illumination map is similar to the irradiance map used to approximate global illumination, and uses the same prepass mechanism built into V-Ray that is also used for interpolated glossy reflections/refractions. The prepass rate parameter determines the resolution at which surface lighting is computed during the prepass phase. A value of 0 means that the prepass will be at the final image resolution; a value of -1 means half the image resolution, and so on. For high quality renders, it is recommended to set this to 0 or higher, as lower values may cause artifacts or flickering in animations. If the chosen prepass rate is not sufficient to approximate the multiple scattering effect adequately, VRayFastSSS2 will replace it with a simple diffuse term. This can happen, for example, for objects that are very far away from the camera, or if the subsurface scattering effect is very small. This simplification is controlled by the Prepass blur parameter. For more information, see the Prepass Rate example below.
Prepass ID – Allows several VRayFastSSS2 materials to share the same illumination map. This could be useful if you have different VRayFastSSS2 materials applied on the same object. If the Prepass ID is 0, then the material will compute its own local illumination map. If this is greater than 0, then all materials with the specified ID will share the same map.
Auto Calculate Density – When enabled, V-Ray will automatically choose an appropriate value for the Samples per unit Area parameter.
Samples per Unit Area – Controls the resolution of the illumination map by setting a number of samples for each square unit of surface. Higher values make V-Ray take more samples and produce a better result. Available when the Multiple Scattering is set to Object-based illumination map.
Surface Offset – To prevent artifacts, each sample is taken a tiny distance away from the actual surface in the direction of the normal. This parameter controls the offset from the surface.
Prepass Mode – Similar to the Mode parameter of the V-Ray Irradiance Map and controls the way V-Ray handles the illumination map for the subsurface scattering.
new map every frame – Calculates a new map for every frame of the animation and then discards it after rendering.
save every frame – Calculates a new map and saves on the hard drive for every frame of the animation.
load map every frame – Looks for and loads a previously saved illumination map for each frame of the animation.
save/load fly through map – Creates/loads a single illumination map for all frames of the animation when only the camera is moving.
Prepass File Name – Specifies a file name for the illumination map to be saved or loaded from.
Preview Samples – When enabled, V-Ray renders an image that displays the samples distribution along the surface of the geometry. It can be used for debugging artifacts much like the Show Samples parameter of the V-Ray Irradiance Map.
Max distance – Represents each preview sample as a circle in the final image. This parameter allows the user to specify the radius of the sample.
Background color – Specifies the color of the geometry where there are no preview samples present.
Samples color – Specifies the color of the preview samples.
This example shows the effect of the Prepass rate parameter. To better show the effect, the Prepass blur parameter is set to 0.0 for these images, so that VRayFastSSS2 does not replace the sub-surface component with diffuse shading when there are not enough samples. Note how low values of the Prepass rate reduce render times but produce blocky artifacts in the image. Also note that more translucent objects can do with lower Prepass rate values, since the lighting is blurred anyways. In the examples below, when Scatter radius is 4.0 cm, the image looks fine even with Prepass rate of -1. However, when Scatter radius is 1.0 cm with a Prepass rate of -1, there are still visible artifacts.
Single scatter – Controls how the single scattering component is calculated. For more information, see the Single Scatter Mode example below.
None – No single scattering component is calculated.
Simple – Approximates the single scattering component from the surface lighting. This option is useful for relatively opaque materials like skin, where light penetration is normally limited.
Raytraced (solid) – Accurately calculates the single scattering component by sampling the volume inside the object. Only the volume is raytraced; no refraction rays on the other side of the object are traced. This is useful for highly translucent materials like marble or milk, which at the same time are relatively opaque.
Raytraced (refractive) – Similar to the Raytraced (solid) mode, but in addition refraction rays are traced. This option is useful for transparent materials like water or glass. In this mode, the material will also produce transparent shadows.
Single scatter subdivisions – Determines the number of samples to make when evaluating the single scattering component when the Single scatter mode is set to Raytraced (solid) or Raytraced (refractive).
Refraction depth – Determines the depth of refraction rays when the Single scatter parameter is set to Raytraced (refractive) mode.
Front lighting – Enables the multiple scattering component for light that falls on the same side of the object as the camera.
Back lighting – Enables the multiple scattering component for light that falls on the opposite side of the object as the camera. If the material is relatively opaque, turning this off will speed up rendering.
Scatter GI – Determines whether the material will accurately scatter global illumination. When disabled, the global illumination is calculated using a simple diffuse approximation on top of the sub-surface scattering. When enabled, the global illumination is included as part of the surface illumination map for multiple scattering. This is more accurate, especially for highly translucent materials, but may slow down the rendering quite a bit.
Prepass blur – Determines if the material will use a simplified diffuse version of the multiple scattering when the Prepass rate for the direct lighting map is too low to adequately approximate it. A value of 0.0 will cause the material to always use the illumination map. However, for objects that are far away from the camera, this may lead to artifacts or flickering in animations. Larger values control the minimum required samples from the illumination map in order to use it for approximating multiple scattering.
Interpolation Accuracy – Controls the approximation quality of the multiple scattering effect when the type is Prepass-based illumination map or Object-based illumination map. Larger values produce more accurate results but are slower to render. Lower values render faster, but values that are too low may produce blocky artifacts on the surface.
This example shows the effect of the Single scatter mode parameter.
For relatively opaque materials, the different Single scatter modes produce quite similar results (except for render times). In the following set of images, the Scatter radius is set to 1.0 cm.
In the second set of images, the Scatter radius is set to 50.0 cm. In this case, the material is quite transparent, and the difference between the different Single scatter modes is apparent. Note also the transparent shadows with the Raytraced (refractive) mode.
Map Type – Determines how the Map parameter is interpreted.
Map – Specifies a texture for the bump or normal map. Leaving this unconnected disables bump/normal mapping.
Note: When a texture with color corrections is used as a normal map, V-Ray will display a warning for unexpected results .
Bump Mult – A multiplier that controls the strength of the bump map effect.
Bump Shadows – When enabled, V-Ray will consider the bump maps when rendering shadows produced by objects with the bump material applied to them.
Here is a list of links and references used when building the VRayFastSSS2 material.