Directional Scratches

Generators / Noises

Adjustable scratches along a direction, with normal output for fine detail.

Select a node to adjust its parameters. Double-click a node to inspect.

Parameters

ParameterTypeDefaultRangeDescription
amount
Amount
int20001 to 100000Number of scratches in the tile.
length
Length
float0.30.005 to 0.75Typical scratch length relative to the shorter output dimension.
length_variation
Length Variation
float0.250 to 1Uniform sampling radius around Length. Out-of-range portions are excluded rather than clamped.
width
Width
float0.250 to 1Scratch width from the minimum visible hairline at 0 to one pixel on a 256px texture at 1. It scales with resolution.
width_variation
Width Variation
float0.550 to 1Uniform sampling radius around Width. Out-of-range portions are excluded rather than clamped.
intensity
Intensity
float0.20 to 1Opacity of the underlying elongated radial-gradient primitive.
intensity_variation
Intensity Variation
float0.30 to 1Uniform sampling radius around Intensity. Out-of-range portions are excluded rather than clamped.
rotation
Rotation
float00 to 1Main scratch direction in turns.
rotation_variation
Rotation Variation
float0.120 to 1Random rotation variation in turns. 1 covers every undirected scratch orientation.
curve
Curve
float0-1 to 1Smoothly bows each scratch while preserving the exact uncurved endpoint positions. Positive and negative values bend in opposite directions.
curve_variation
Curve Variation
float0.120 to 1Uniform sampling radius around Curve. Out-of-range portions are excluded rather than clamped.
disorder
Disorder
float00 to 1Moves the scratches through a loopable motion path.
disorder_speed
Disorder Speed
float10 to 2Scales the displacement applied by Disorder using the Gaussian Spots motion model.
disorder_anisotropy
Disorder Anisotropy
float00 to 1Morphs phase-randomized orbits into directional tracks.
disorder_anisotropy_angle
Disorder Anisotropy Angle
float00 to 1Direction of anisotropic track motion, in turns. It does not affect scratch Rotation.
normal_strength
Normal Strength
float0.10 to 1Slope of the scratch walls before Intensity blends the normal toward flat.
normal_format
Normal Format
enummatch_graphNormal map format: Match Graph, OpenGL (Y-up), or DirectX (Y-down).
  • match_graph : Output in the graph's normal format.
  • opengl : Output an OpenGL Y-up normal map.
  • directx : Output a DirectX Y-down normal map.
seed
Seed
float00 to 100Random seed for scratch placement and variation.

Outputs

  • mask (default format: r32float)
  • normal (default format: r32float)