Directional Scratches
Generators / Noises
Adjustable scratches along a direction, with normal output for fine detail.
Parameters
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
amountAmount | int | 2000 | 1 to 100000 | Number of scratches in the tile. |
lengthLength | float | 0.3 | 0.005 to 0.75 | Typical scratch length relative to the shorter output dimension. |
length_variationLength Variation | float | 0.25 | 0 to 1 | Uniform sampling radius around Length. Out-of-range portions are excluded rather than clamped. |
widthWidth | float | 0.25 | 0 to 1 | Scratch width from the minimum visible hairline at 0 to one pixel on a 256px texture at 1. It scales with resolution. |
width_variationWidth Variation | float | 0.55 | 0 to 1 | Uniform sampling radius around Width. Out-of-range portions are excluded rather than clamped. |
intensityIntensity | float | 0.2 | 0 to 1 | Opacity of the underlying elongated radial-gradient primitive. |
intensity_variationIntensity Variation | float | 0.3 | 0 to 1 | Uniform sampling radius around Intensity. Out-of-range portions are excluded rather than clamped. |
rotationRotation | float | 0 | 0 to 1 | Main scratch direction in turns. |
rotation_variationRotation Variation | float | 0.12 | 0 to 1 | Random rotation variation in turns. 1 covers every undirected scratch orientation. |
curveCurve | float | 0 | -1 to 1 | Smoothly bows each scratch while preserving the exact uncurved endpoint positions. Positive and negative values bend in opposite directions. |
curve_variationCurve Variation | float | 0.12 | 0 to 1 | Uniform sampling radius around Curve. Out-of-range portions are excluded rather than clamped. |
disorderDisorder | float | 0 | 0 to 1 | Moves the scratches through a loopable motion path. |
disorder_speedDisorder Speed | float | 1 | 0 to 2 | Scales the displacement applied by Disorder using the Gaussian Spots motion model. |
disorder_anisotropyDisorder Anisotropy | float | 0 | 0 to 1 | Morphs phase-randomized orbits into directional tracks. |
disorder_anisotropy_angleDisorder Anisotropy Angle | float | 0 | 0 to 1 | Direction of anisotropic track motion, in turns. It does not affect scratch Rotation. |
normal_strengthNormal Strength | float | 0.1 | 0 to 1 | Slope of the scratch walls before Intensity blends the normal toward flat. |
normal_formatNormal Format | enum | match_graph | Normal map format: Match Graph, OpenGL (Y-up), or DirectX (Y-down).
| |
seedSeed | float | 0 | 0 to 100 | Random seed for scratch placement and variation. |
Outputs
mask(default format:r32float)normal(default format:r32float)