V-Ray Tip: V-Ray Dirt — Clean AO and Material Masking

March 21, 2026 2 min read

V-Ray Tip: V-Ray Dirt — Clean AO and Material Masking

V-Ray Dirt is a versatile shader for robust ambient occlusion (AO) and production-ready material masking. Here’s how to get clean, controllable results without slowing your renders.

When to use it

  • Add subtle contact shadows to ground objects and tight creases.
  • Create grime, edge wear, dust, and cavity masks for material blending.
  • Generate a clean AO pass for compositing control instead of baking AO into materials.

Quick setup for a dedicated AO pass

  • Add a VRayExtraTex (ExtraTex) render element.
  • Assign a VRayDirt texture to the ExtraTex slot.
  • Set Unoccluded color to white and Occluded color to black (invert in comp if preferred).
  • Render and composite as Multiply at 10–25% opacity to avoid muddy images.

Key parameters that matter

  • Radius: The most important control. Use scene-true units. Start around 1–5% of your object’s size; smaller for product shots, larger for architecture.
  • Distribution: 0.0 spreads AO evenly; higher values concentrate it near contact areas. Try 0.6–1.2 for grounded yet natural contact shadows.
  • Falloff: Softens the fade with distance. Helpful when large radii look too harsh.
  • Invert Normals: Flips from cavities to convex edges, perfect for edge wear/dust masks.
  • Consider Same Object Only / Ignore Other Objects: Keeps AO from adjacent meshes off when you only want self-occlusion detail.
  • Affect by Opacity/Transparency (host-dependent): Enable when glass, cutouts, or foliage should participate in AO.

Material masking workflows

  • Edge wear: VRayDirt (Invert Normals ON) as the mask in a Blend/Layered material between base paint and exposed metal.
  • Dust on top-facing surfaces: Combine VRayDirt with a world-space falloff pointing upward; multiply the masks for convincing buildup.
  • Roughness variation: Use a softened VRayDirt mask to slightly increase roughness in cavities for believable micro grime.
  • UV-free assets: Pair with VRayTriplanar for clean, seam-free masks on scanned or proxy geometry.

Performance and quality

  • Modern V-Ray uses unified sampling; control AO noise with your Image Sampler and Noise Threshold rather than per-map Subdivs (if present, leave defaults).
  • Test at lower resolution with Region Render to dial Radius/Distribution quickly.
  • Disable “Consider other objects” when not needed to reduce ray checks in dense scenes.

Common pitfalls

  • Oversized radius: Causes unrealistic dark halos. Always tie radius to real scale.
  • AO baked into beauty: Limits flexibility. Prefer an ExtraTex AO pass and composite subtly.
  • Crushed blacks: If AO looks harsh, lift Occluded color slightly above pure black or reduce Multiply opacity in post.

Need dependable licenses, upgrades, or expert advice on V-Ray across 3ds Max, Maya, Rhino, SketchUp, or Cinema 4D? Explore V-Ray options at NOVEDGE. For broader CAD/CG pipelines and add-ons, visit NOVEDGE, and keep an eye on their Chaos V-Ray listings for current promotions.



You can find all the V-Ray products on the NOVEDGE web site at this page.







Also in Design News

Subscribe

How can I assist you?