Select Roughness

Creates a selection mask based on surface roughness: areas where the surface direction changes a lot over a short distance (bumpy, broken, rocky ground) are bright, while smooth surfaces, whether flat or evenly sloped, are dark.

When to Use

  • Separating rocky from smooth ground: Separate rocky or eroded areas from smooth or weathered surfaces.
  • Procedural texturing: Give rough areas rock materials and smooth areas soil or vegetation.
  • Driving other effects: Use the mask to control detail-dependent effects such as erosion intensity.

How to Use

Connect a terrain to the input. The output is a mask with rough ground bright and smooth ground dark.

  1. Adjust Strength to control how strongly roughness is detected
  2. Set Neighborhood size based on the scale of detail you want to detect

Inputs

PortTypeRequiredDescription
Primary InputHeightfield or VDMRequiredThe terrain to analyze for surface roughness

Outputs

PortTypeDescription
Primary OutputHeightfieldMask showing surface roughness intensity

Parameters

Strength

Controls how sensitively the selector responds to roughness by brightening the whole mask. Values above 1.0 make subtle roughness show up strongly, but the roughest areas saturate to full white. Accepts spatial input, so you can vary the sensitivity across the terrain.

  • Default: 1.0
  • Range: 0.0 to 4.0

Neighborhood

Controls the radius of influence for roughness calculation. Larger values consider broader terrain context.

  • Default: 1
  • Range: 1 to 4
  • Note: Measured in pixels; each increment expands the analyzed area by one pixel in all directions

Tips and Tricks

  • Lower Neighborhood values (1-2) detect fine-scale detail and texture
  • Higher Neighborhood values (3-4) identify broader rough vs. smooth regions
  • VDM inputs are supported, including overhangs; roughness is measured on the displaced surface
  • Combine with other selectors to refine placement (e.g., rough areas on steep slopes)

Limitations

  • Because Neighborhood is measured in pixels, the same setting picks out finer features at higher build resolutions
Updated on December 3, 2026
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support