This page provides information on the Occlusion or Dirt Map.
Overview
VRayDirt is a texture map that can be used to simulate a variety of effects: for example, dirt around the crevices of an object, or to produce an ambient occlusion pass.
Parameters
Output Settings
Example: Radius Parameter
This parameter determines the amount of area (in units) where the VRayDirt effect is produced. The Dirt color has been tinted red to clarify the effect. The scene used for these examples is a small paper 1/100th scale-model of the architecture.
Example: Texmap Radius
In the next example, a bitmap is used in the Radius texture map slot. Notice that the main Radius parameter still has effect - it determines the amount of area where the bitmap would blend. In the first image, the Radius parameter is set to 1 cm, and in the second image it is set to 4 cm.
Example: Distribution Parameter
The Distribution parameter forces the rays to gather closer. The effect is that the dirt area is being narrowed closer to the contact edges.
Rays distribution (X,Y,Z) axis
Equal angle between rays distribution
Distribution parameter = 0.0
Rays distribution (X,Y,Z) axis
Different angle between rays distribution
Distribution parameter > 0.0
Distribution: 1.0
Distribution: 3.0
Distribution: 10.0
Example: Falloff Parameter
Example: Subdivisions Parameter
To better illustrate the Subdivs parameter, the VRayDirt material has been assigned as a diffuse map to VRayMtl. The Diffuse Filter Render Element has been rendered to clearly display the diffuse effect.
The Noise threshold in the Image sampler has been set to 0.15 for this example. Lower values, such as 0.01 will automatically clean up the result.
Example: Bias
This parameter biases the normals so that the dirt effect is forced to some of the axis(es).
Example: Consider Same Object Only
Example: Inner Occlusion
The Inner Occlusion allows the user to invert the effect with respect to surface normals - e.g. instead of crevices, open corners are shaded with the occluded color.
Example: Streaks Ambient
For this example the Streaks Ambient parameter is enabled and the Mode is set to Ambient occlusion. Depending on the values of X and Y axes, the streaks change. In the first render, the X axis is set to 0 and the Y axis is set to -15. In the second render, the X axis is set to 0 and the Y axis is set to -7. In the third image, the X axis gets a value of 10 and the Y axis is set to -7. The Z axis has a value of 30 for both renders.
Example: Streaks Size
For this example, the Streaks Ambient parameter is enabled and the Mode is set to Ambient Оcclusion. The Streaks Size controls the thickness of all streaks.
Example: Streaks Blur
For this example, Streaks blur is enabled and higher values increase the blur effect.
Example: Streaks Density
For this example, Streaks Density is enabled and it controls the density of the streaks.
Notes
- If you want to exclude V-Ray Lights from the calculations done by the V-Ray Dirt texture, enable Ignore invisible objects parameter to get it to respect the Invisible setting on the lights.
- VRayDirt and VRayCurvature have their own Subdivs parameters which work independently from the Adaptive sampling settings.