The Dirt texture can create different shading effects based on ambient occlusion calculations. This texture is useful for simulating dirt, dust, or wear and tear, as well as blending textures based on a surface's recesses. Dirt textures are often connected to the Diffuse, Bump, or Transmission inputs of OctaneRender® materials (figure 1).



Dirt Texture




Figure 1: A Dirt texture node determining the Mix amount for two RGB Color nodes

 

Dirt Texture Parameters

Strength - Controls the Dirt intensity across the geometry surface.

Details - Controls the Details intensity.

Radius - Controls the dirt spread across the model's surface from the recessed parts towards the exposed parts.

Radius Map - Determines the proportion of the maximum area affected by the dirt texture.

Tolerance - Reduces black edges on rough tessellated meshes.

Spread - Controls the ray direction with respect to the normal of the surface. A value of 0 means the dirt direction is shot in the direction of the surface normal and a value of 1 shoots the dirt rays in all directions.

Distribution - Forces the rays to gather closer to the surface normal. A value of 1 is the equivalent to ambient occlusion on a diffuse surface. A value of 0 gathers the rays in the normal direction.

Bias - Any non-zero bias will be used as the shading normal to sample the dirt rays.

Bias Coordinate Space - Determines the coordinate space for the bias vector.

Include Object Mode - By default the mode is set to All, which considers all object intersections in the dirt calculation. If Self is selected, then only the ray-intersection with other objects is used for the dirt calculation.

Invert Normal - Reverses the Dirt texture effect based on the normal surface direction.