Dirt

Dirt

In: Mesh Adaptive/Mask Generators

Intermediate

Description

Generates a black and white mask based on baked maps and user settings. Similar to Smart Masks in Painter.

This mask represent dirts in occluded and sunken edges and corners, based on baked AO and curvature.

Parameters

 Click here to expand parameters...

Inputs

  • CurvatureGrayscale Input 
    Baked map used for internal effects and masking. Required!
  • Ambient OcclusionGrayscale Input 
    Baked map used for internal effects and masking. Required!
  • Grunge inputGrayscale Input 
    Custom grunge map input, optional, enabled by parameter.
  • Mask (optional)Grayscale Input 
    Mask slot used for masking the node's effects.
  • World Space NormalColor Input 
    Only used for Triplanar.
  • PositionColor Input 
    Only used for Triplanar.

Parameters

  • Dirt Level0.0 - 1.0
    Main control for amount of dirt.
  • Dirt Contrast0.0 - 1.0
    Controls main contrast for the dirt in the mask.
  • Grunge Amount0.0 - 1.0
    Sets how grungy the dirt is. Set to 0 for perfectly smooth dirt.
  • Edges Masking0.0 - 1.0
    Amount of dirt to remove from raised edges (based on the curvature map).
  • Use Custom GrungeFalse/True
    Enables use of custom grunge map input instead of built-in Grunge.
  • Grunge Scale1 - 16
    Sets tiling scale of Grunge detail.
  • Use TriplanarFalse/True
    Use Triplanar projection for Grunge mapping, removes seams.
  • Triplanar Blending Contrast0.001 - 1.0
    Sets contrast of the Triplanar projection.

Example Images