Linear Gradient
Generators / Patterns
Directional gradient with configurable profile, position, and repeats.
Parameters
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
orientationOrientation | enum | vertical | Gradient direction.
| |
positionPosition | float | 0 | 0 to 1 | Peak position. 0=peak at start (descending ramp), 1=peak at end (ascending ramp), 0.5=centered bump. |
profileProfile | enum | arc | Equation used for the 0 to 1 curve. Arc: circular curve; Curve 0 is linear, Curve 1 is a quarter-circle arc. Power: exponent curve; Curve 0 is linear, Curve 1 is square root, Curve -1 is square. Cosine: sinusoidal ease curve; Curve 0 is a smooth S-curve, positive reaches 1 sooner, negative reaches 1 later.
| |
curveCurve | float | 0 | -2 to 2 | Adjusts the selected profile. Negative values make it tighter; positive values make it broader. |
repeatsRepeats | int | 1 | 1 to 64 | Number of gradient repetitions. |
Outputs
output(default format:r32float)