Mask Builder

Mask Builder

In: Mesh Adaptive/Mask Generators

Complex

Description

Generates a black and white mask based on baked maps and user settings. This is pretty much the Designer version of Painter's Mask Builder.

It is a complicated tool intended as an all-encompassing mask builder, based on baked maps, user parameters and grunge patterns and maps. It is mainly intended as a very advanced, full-control node to blend in crease dirt and edge wear. This node is powerful enough to mimic every other Mask Generator.

No bakes are explicitely required, but the more you supply, the more this node is capable of doing.

Parameters

 Click here to expand parameters...

Inputs

  • Ambient OcclusionGrayscale Input 
  • CurvatureGrayscale Input 
  • World Space NormalColor Input 
  • Grunge InputGrayscale Input 
  • Grunge Input 2Grayscale Input 
  • Scatter InputGrayscale Input 
    Custom scatter stamp, required to make use of the Scatter parameters.
  • Mask (optional)Grayscale Input 
    Mask slot used for masking the node's effects.
  • PositionColor Input 
    Used for Triplanar and Top-Bottom effects.

Parameters

  • Level0.0 - 1.0
    Sets the total level of the effect, gradually revealing.
  • Contrast0.0 - 1.0
    Adjusts the contrast of the result.
  • InvertFalse/True
    Inverts the result. Useful to achieve the opposite of the mask you are building.
  • Use TriplanarFalse/True
    Enables Triplanar projection, avoiding any seams with grunge maps.
  • Triplanar Blending Contrast0.0 - 1.0
    Sets the contrast for the Triplanar Blending.
  • Grunge0.0 - 1.0
    Sets amount of Grunge to blend in globally.
  • Grunge 
    • Scale0 - 10
      Sets the scale of the global Grunge.
    • Use Custom GrungeFalse/True
      Enables custom Grunge input.
    • Secondary Custom Grunge0.0 - 1.0
      Enables a second custom Grunge input.
    • InvertFalse/True
      Inverts the Grunge map.
  • AO-1.0 - 1.0
    Sets extent to which the effect should appear in occluded AO areas. Can be tweaked with the below group.
  • AO 
    • Range0.0 - 1.0
      Sets the treshold or range for the appearance of dirt.
    • Contrast0.0 - 1.0
      Adjusts the contrast of the AO effect.
    • Noisiness0.0 - 1.0
      Sets amount of noise/grunge to blend into the AO effect.
    • Noise Scale0 - 10
      Sets the scale of the AO noise/grunge.
    • Noise TypeSpots, Cloud, Moisture, White Noise
      Switches between 4 different types of AO noise.
    • InvertFalse/True
      Inverts the interpretation of the AO map: noise will appear in bright AO areas, not dark ones.
  • Curvature0.0 - 1.0
    Sets how much effect should appear on Curvature edges; can be both Convex and Concave. Tweak this with the group below.
  • Curvature 
    • Convex Range-1.0 - 1.0
      Sets how much effect to appear on Convex (bright) curvature edges.
    • Convex Contrast0.0 - 1.0
      Sets the contrast of the Convex effect.
    • Convex InvertFalse/True
      Inverts the interpretation of the Convex edges.
    • Concave Range-1.0 - 1.0
      Sets how much effect to appear on Concave (dark) curvature edges.
    • Concave Contrast0.0 - 1.0
      Sets the contrast of the Concave Range.
    • Concave InvertFalse/True
      Inverts the interpretation of the concave edges.
    • Smoothness0.0 - 16.0
      Amount of blurring and smoothing to apply to Curvature edges.
    • Level Boost0.0 - 1.0
      Additional booster if the effect is not visible enough.
    • Noisiness0.0 - 1.0
      Sets the influence of the noise/grunge on the Curvature effect.
    • Noise Scale0 - 10
      Sets the scale of the noise.
    • Noise TypeSpots, Cloud, Moisture, White Noise
      Choose between 4 different Noise types.
  • Top/Down Gradient-1.0 - 1.0
    Blends over or masks with a top-to-bottom gradient based on the Position map. Positive values make things brighter, negative values mask away existing effects.
  • Gradient 
    • Range0.0 - 1.0
      Sets the position of the gradient.
    • Contrast0.0 - 1.0
      Adjusts the contrast of the gradient.
    • InvertFalse/True
      Inverts the gradient. Effectively swaps bottom and top.
  • World Space Normal0.0 - 1.0
    Similar to Top/Down Gradient, but with the position map and in six directions, akin to fake lighting. Positive values brighten, negative values darken.
  • World Space Normal 
    • Top Intensity-1.0 - 1.0
    • Bottom Intensity-1.0 - 1.0
    • Front Intensity-1.0 - 1.0
    • Back Intensity-1.0 - 1.0
    • Right Intensity-1.0 - 1.0
    • Left Intensity-1.0 - 1.0
  • Scratches-1.0 - 1.0
    Blends scratches into the white areas.
  • Scratches 
    • Amount0 - 4096
      Sets total amount of scratches.
    • Scale0.0 - 1.0
      Sets the scale of individual scratches.
  • Scatter-1.0 - 1.0
    Scatters a custom stamp within white areas.
  • Scatter 
    • Scale0 - 50
      Total scale of the effect.
    • Density0.0 - 1.0
      Scattering density control, number that should appear.
    • Size0.0 - 4.0
      Size of the scattered stamp.
    • Size Variation0.0 - 1.0
      Variation within stamp size.
    • Opacity Variation0.0 - 1.0
      Variation within stamp opacity.

Example Images