Page Contents ×

 

This page provides details on the V-Ray alSurface material.

 

Overview


The V-Ray AL Surface shader is V-Ray's implementation of Anders Langland's alShader, which is designed to reproduce the appearance of skin. The current version takes into account diffuse reflection, two levels of reflection, and subsurface scattering.

 

UI Path: ||Material Editor window|| > Material/Map Browser...

||Material Editor window|| > Material/Map Browser > Materials > V-Ray > VRayAlSurfaceMtl

 

||V-Ray Toolbar|| > V-RayMtl (hold left click to display a dropdown list)


 

© Safwen Abidi

 

General Parameters


SSS density scale – Additionally scales the SSS radius parameters. Normally, the material takes the scene scale 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.

Opacity – Assigns transparent properties to the material where white is completely opaque and black is completely transparent. Maps can also be assigned to create a material that has a non-uniform opacity.

Bump tex – Allows you to select a texture for the bump or normal map. The bump set here provides a uniform bump effect to the entire material (affecting the diffuse bump and reflection bump components together). If no map is specified, only the bump maps from the separate (diffuse or reflection) layers (if any) will be applied.

Displacement tex – Allows you to select a texture for displacement mapping. Leaving this unconnected turns off displacement. Also, specifies the amount of displacement with the numerical value.

 

 

Diffuse


Diffuse color – The color of the material. Note: The actual diffuse color of the surface also depends on the reflection and refraction colors.

Diffuse strength – A multiplier for the diffuse color.

SSS mix – Mix between the Diffuse component and the SSS component.

SSS mode  – Sets the Sub Surface Scattering Mode.

Diffuse bump tex – Allows you to select a texture for the bump or normal map for the diffuse component. The bump effect here is added to the General parameters bump effect. If no map is set in the General parameters or the map there is disabled, the map in this layer still produces its bump effect. 

 

 


 

 

Example: SSS density scale

 

This example demonstrates the effect of the SSS density scale parameter. The SSS mix is set to 1.0

 

Example: SSS mix

 

This example demonstrates the effect of the SSS mix parameter. The SSS scale is set to 1.5

 

SSS density scale = 0.5


SSS density scale = 1.0


SSS density scale = 1.5

SSS density scale = 2.0


SSS density scale = 2.5


SSS density scale = 3.0


SSS density scale = 3.5

SSS density scale = 4


SSS density scale = 4.5

SSS density scale = 5.0

0.5
5


SSS mix = 0


SSS mix = 0.1


SSS mix = 0.2


SSS mix = 0.3


SSS mix = 0.4


SSS mix = 0.5


SSS mix = 0.6


SSS mix = 0.7


SSS mix = 0.8

SSS mix = 0.9

SSS mix = 1.0

0
1


SSS


The AL Surface Material has three SSS rollouts with identical parameters for precise control over three types of subsurface scattering.

SSS color – The color for the shallow scattering layer.

SSS weight – The relative contribution of the shallow scattering layer to the material.

SSS radius – The distance that light is scattered within the shallow layer.

 

 

Reflection


The AL Surface Material has two reflection rollouts with identical parameters for precise control over two types of reflection.

Reflect color – The reflection color. Note that the reflection color dims the diffuse surface color.

Reflect strength  – A multiplier for the reflection color.

Reflect roughness – Used to simulate rough surfaces or surfaces covered with dust.

Reflect IOR – The IOR to use when calculating Fresnel reflections. Normally this is locked to the Refraction IOR parameter, but you can unlock it for finer control. 

Reflect distribution – Determines the type of BRDF (the shape of the highlight):

Beckmann – Uses a Beckmann distribution for the reflection.
GGX – Uses GGX distribution for the reflection. The GGX distribution has a longer "tail" compared to the Beckmann distribution.

Reflect bump texture – Allows you to select a texture for the bump or normal map for the reflection component. The bump effect here is added to the General parameters bump effect. If no map is set in the General parameters or the map there is disabled, the map in this layer still produces its bump effect.

 

 


 

 

Example: SSS2 color

 

This example demonstrates the effect of the SSS2 color parameter. The SSS1 slot is connected to a texture map. The SSS2 slot is set to color (140/50/22). In the example, we are adjusting the hue of the color.

 

Example: Reflect color

 

This example demonstrates the effect Reflect color parameter.

 


SSS2 color (hue) = 0


SSS2 color (hue) = 40


SSS2 color (hue) = 80


SSS2 color (hue) = 120


SSS2 color (hue) = 160


SSS2 color (hue) = 200


SSS2 color (hue) = 240


SSS2 color (hue) = 280


SSS2 color (hue) = 320


SSS2 color (hue) = 360

0
360


Reflect color = 0/0/0 (RGB)


Reflect color = 026/026/026 (RGB)


Reflect color = 051/051/051 (RGB)


Reflect color = 077/077/077 (RGB)


Reflect color = 102/102/102 (RGB)


Reflect color = 128/128/128 (RGB)


Reflect color = 153/153/153 (RGB)


Reflect color = 179/179/179 (RGB)


Reflect color = 204/204/204 (RGB)


Reflect color = 230/230/230 (RGB)


Reflect color = 255/255/255 (RGB)

0/0/0 (RGB)
255/255/255 (RGB)

 

Options and Sampling


Reflect max depth – The number of times a ray can be reflected. Scenes with many reflective and refractive surfaces might require higher values to look correct.

 

Textures


The settings on the Textures rollout determine the various texture maps used by the material.

Most of the parameters in this rollout pertain directly to parameters in the VRayALSurfaceMtl, and their definitions can be found above.

 

 


 

 

Example: Diffuse map

 

This example demonstrates the effect of Diffuse map slot connected to a texture. We are adjusting the hue, to show the same effect of using different diffuse maps.

 

 


Diffuse map (hue) = 0


Diffuse map (hue) = 40


Diffuse map (hue) = 80


Diffuse map (hue) = 120


Diffuse map (hue) = 160


Diffuse map (hue) = 200


Diffuse map (hue) = 240


Diffuse map (hue) = 280


Diffuse map (hue) = 320


Diffuse map (hue) = 360

0
360