Skip to content
07-848 2005

V-Ray for SketchUp, textures

V-Ray Dirt texture

Use the V-Ray Dirt texture in SketchUp to add dirt effects and create an ambient occlusion pass.

On this page
  1. Overview
  2. UI paths
  3. Parameters
  4. Example: Inner Occlusion
  5. Example: Radius
  6. Example: Falloff
  7. Example: Distribution
  8. Example: Streaks Ambient
  9. Example: Streaks Size
  10. Exclude
  11. Affected By
  12. Advanced parameters
  13. Example: Ignore for GI
  14. Bias
  15. Example: Bias
  16. Multipliers
  17. Footnotes

Use the V-Ray Dirt texture in SketchUp to add dirt effects and create an ambient occlusion pass.

Overview

Dirt is a texture map that simulates effects such as dirt in an object's crevices. You can also use it to create an ambient occlusion pass.

Replace With New Texture icon.
V-Ray Dirt preview on a white material sample, with dark shading in grooves and recesses.

UI paths

||V-Ray Asset Editor|| > Textures (right-click) > Dirt

||V-Ray Asset Editor|| > Create Asset (left-click) > Textures > Dirt

Parameters

Mode sets the procedural mode used to generate the texture:

Ambient Occlusion calculates normal ambient occlusion.
Inner Occlusion reverses the effect relative to surface normals. Open corners receive the occluded colour instead of crevices. This mode traces rays inside the surface. Otherwise, rays are traced outside the surface. See the Inner Occlusion example below.
Ambient + Inner Occlusion combines Ambient Occlusion and Inner Occlusion to create a stronger weathering effect.
Reflection Occlusion (Phong, Blinn, Ward) uses reflection occlusion. Ambient occlusion traces rays uniformly in all directions. Reflection occlusion traces rays based on the viewing direction, as it does for reflections. The ray spread depends on the Reflection glossiness and BRDF type.

Unoccluded Color sets the colour for unoccluded areas. A selected texture overrides the colour while its texture checkbox is enabled.

Occluded Color sets the colour for occluded areas. A selected texture overrides the colour while its texture checkbox is enabled.

Radius sets the area covered by the Dirt effect in scene units. If you also use a texture, Radius sets the area over which it blends. See the Radius example below.

Falloff controls how quickly occluded areas transition to unoccluded areas. See the Falloff example below.

Distribution gathers rays closer to the surface normal. This narrows the dirt area towards contact edges. For ambient occlusion, set this parameter to 1.0 for a distribution similar to ambient lighting on a diffuse surface. See the Distribution example below.

Glossiness controls the spread of rays traced for reflection occlusion. It applies only in Phong, Blinn, or Ward ambient occlusion mode.

Dirt Parameters panel with Ambient Occlusion selected, Radius 1, Falloff 0, Distribution 1 and Glossiness disabled.

Example: Inner Occlusion

Inner Occlusion reverses the effect relative to surface normals. Open corners receive the occluded colour instead of crevices.

Architectural render showing red Dirt shading along exposed building edges and street furniture.
Grainy courtyard render showing dark occlusion beneath overhangs and around structural joints.

Example: Radius

Radius sets the area covered by the Dirt effect in scene units. These examples use red for the Dirt colour to make the effect clear. The scene is a small paper 1/100th scale model of the architecture.

Radius example showing subtle grey Dirt shading in the recesses of a white architectural model.
Architectural model with red V-Ray Dirt shading concentrated around facade joints and recesses.
Architectural model with a larger Dirt radius spreading red shading across facade recesses and joints.

Example: Falloff

Street-level render showing red Dirt falloff around facade joints, canopy supports and pavement edges.

Falloff

= 0

Falloff set to 0, with red Dirt shading spread around facade joints and the bases of canopy supports.

Falloff

= 3

Falloff set to 3, with lighter red Dirt shading around facade joints and canopy supports.

Falloff

= 5

Example: Distribution

Distribution gathers rays closer to the surface normal. This narrows the dirt area towards contact edges.

Courtyard render showing Dirt distribution around building joints, beneath the walkway and at support bases.

Distribution

= 1

V-Ray Dirt render at Distribution 1, showing reddish shading around building joints and supports.

Distribution

= 3

V-Ray Dirt render at Distribution 3, with reddish shading concentrated along building edges and joints.

Distribution

= 10

Distribution diagram showing sampling rays spread evenly above a flat surface.

Ray distribution along the (X,Y,Z) axes

Equal angles between rays

Distribution parameter = 0.0

Distribution diagram showing sampling rays clustered towards the surface normal.

Ray distribution along the (X,Y,Z) axes

Different angles between rays

Distribution parameter > 0.0

Streaks Ambient draws streaks across the ambient occlusion dirt effect. You must set a bias direction and value for streaks to appear. See the Streaks Ambient example below.

Streaks Inner draws streaks across the inner occlusion dirt effect. You must set a bias direction and value for streaks to appear.

Streaks Size controls the thickness of all streaks. See the Streaks Size example below.

Streaks Density controls the density of the streaks.

Streak controls showing Streaks Ambient, Streaks Inner, Streaks Size at 50 and Streaks Density at 1.

Example: Streaks Ambient

These examples have Streaks Ambient enabled and Mode set to Ambient Occlusion. The streaks change with the Bias X and Bias Y values. In the first render, Bias X is 0 and Bias Y is -15. In the second render, Bias X is 0 and Bias Y is -7. In the third image, Bias X is 10 and Bias Y is -7. Bias Z is 30 for both renders.

Streaks Ambient render showing red dirt streaks running down building facades beneath horizontal ledges.

Bias X

=

0

;

Bias Y

=

-15

;

Bias Z

=

30

V-Ray Dirt Streaks Ambient example with narrow red vertical streaks beneath building ledges.

Bias X

=

0

;

Bias Y

=

-7

;

Bias Z

=

30

V-Ray Dirt Streaks Ambient example with fine red diagonal streaks beneath building ledges.

Bias X

=

10

;

Bias Y

=

-7

;

Bias Z

=

30

Example: Streaks Size

These examples have Streaks Ambient enabled and Mode set to Ambient Оcclusion. Streaks Size controls the thickness of all streaks:

V-Ray Dirt Streaks Size example with fine red streaks fading down the building facades beneath ledges.

Streaks Size

= 1

V-Ray Dirt Streaks Size example with thin red diagonal streaks beneath building ledges.

Streaks Size

= 2

V-Ray Dirt Streaks Size example with thicker red diagonal streaks beneath building ledges.

Streaks Size

= 5

Self-occlusion Only limits dirt to the objects themselves. Contact surfaces and edges are not included.

Ignore Self-occlusion prevents an object from occluding itself. Other objects in the scene still occlude it.

Double-Sided traces rays from both sides of each face to generate the dirt map. Rays follow the surface normals and the opposite direction.

Thin Mode reduces dirt on thin surfaces to improve their appearance. It is available only in Inner Occlusion Mode.

V-Ray Dirt options with Self-occlusion Only, Ignore Self-occlusion, Double Sided and Thin Mode all unchecked.

Exclude

Add Objects adds objects to the Exclude list. The dirt map does not affect objects in this list.

Inclusive reverses the Exclude list when enabled. Only objects in the list receive shading from the dirt map.

Exclude panel with an empty object list, Add Objects button and Inclusive unchecked.

Affected By

Add Objects adds objects to the Affected By list. Objects in this list affect the Dirt map calculation. Excluded objects are invisible to the calculation and do not create dirt on other objects.

Inclusive reverses the result of the "Affected By" list when enabled. Objects in the list shade other objects with the dirt map.

Affected By panel with an empty object list, Add Objects button and Inclusive unchecked.

Advanced parameters

Ignore for GI excludes the dirt effect from GI calculations when enabled. See the Ignore for GI example below.

Ignore Bump excludes bump maps from Dirt calculations when enabled.

Use Transparency includes the opacity of occluding objects in Dirt calculations. You can use it to calculate ambient occlusion from objects such as opacity-mapped trees. It is disabled by default, so Dirt treats occluding objects as opaque. Enabling it slows calculations because Dirt must evaluate the materials on occluding objects.

Env. Occlusion makes V-Ray use the environment to calculate occlusion in areas that other objects do not occlude.

Affect Refl. Elements lets ambient reflection affect the reflection render elements when enabled. You can use it to create reflection masks.

Advanced Parameters panel with Ignore for GI checked and Affect Refl. Elements greyed out.

Example: Ignore for GI

Ignore for GI controls whether the dirt effect is visible during GI calculations. These examples show GI calculation during Light cache calculations, which explains the noise.

Noisy architectural render during Light cache GI calculations in the Ignore for GI example.

Ignore for Gi

= on

Grainy courtyard render showing dark occlusion beneath overhangs and around structural joints.

Ignore for Gi

= off

Bias

Bias X biases the normals towards the X-axis to direct the dirt effect along that axis. Use a negative value to reverse the direction.

Bias Y biases the normals towards the Y-axis to direct the dirt effect along that axis. Use a negative value to reverse the direction.

Bias Z biases the normals towards the Z-axis to direct the dirt effect along that axis. Use a negative value to reverse the direction.

Bias panel with Bias X, Bias Y and Bias Z all set to 0.

See the Bias example below.

Example: Bias

Bias adjusts the normals to direct the dirt effect along the selected axes.

Architectural render showing directional dirt shading around facade panels, ledges and building edges.

Bias X

= 100

V-Ray Dirt bias example showing soft shading around building panels, ledges and joints.

Bias Y

= 100

V-Ray Dirt bias example showing darker shading beneath building ledges and around recessed panels.

Bias Z

= 100

Multipliers

Mode sets how colours are multiplied.

Multiplier uses black as the blending colour.
Blend Amount uses the colour specified in the colour slot.

Unoccluded Color controls the intensity of the unoccluded colour. You can assign a texture map to this channel.

Occluded Color controls the intensity of the occluded colour. You can assign a texture map to this channel.

Multipliers panel with Mode set to Multiply and Unoccluded Color and Occluded Color both set to 1.

Footnotes

  1. Calculated in the default SketchUp unit, inches.

Procadsys customer support

Still need help?

Licences, renewals and billing

Our New Zealand team looks after your V-Ray licences, renewals and invoices.

Monday to Friday, 9:00 am to 4:30 pm NZ time, excluding New Zealand public holidays.

Technical problems

Installation errors, crashes and other technical problems with V-Ray are handled by Chaos support.