Adjusts the bias (average brightness) and gain (contrast) of terrain or color data using smooth tone curves for natural-looking results.
When to Use
- Raising or lowering terrain: On a heightfield, Bias shifts the average elevation up or down.
- Exaggerating or flattening relief: On a heightfield, Gain exaggerates or flattens the relief.
- Adjusting colors and masks: Brighten, darken, or change the contrast of color data or masks without clipping at the top or bottom of the range.
How to Use
Connect terrain or color data to the input. With Bias and Gain both at 0.5 (the defaults), the input passes through unchanged.
- Adjust Bias to shift the overall brightness up or down.
- Adjust Gain to increase or decrease contrast around the midpoint.
- For localized adjustments, connect masks to the Bias or Gain parameter ports.
Inputs
| Port | Type | Required | Description |
|---|---|---|---|
| Primary Input | Heightfield or RGB | Yes | The terrain or color data to adjust |
| Mask Input | Heightfield | Optional | Controls where the effect is applied |
Outputs
| Port | Type | Description |
|---|---|---|
| Primary Output | Heightfield or RGB | The adjusted terrain or color data |
Parameters
Bias (Default: 0.5, Range: 0.001-0.999) – Adjusts the average value of the input. Values below 0.5 darken/lower the average, while values above 0.5 brighten/raise it. The lowest and highest values (0 and 1) stay fixed; the curve bends the values in between. Accepts spatial input for per-pixel control.
Gain (Default: 0.5, Range: 0.001-0.999) – Boosts or decreases contrast. Values below 0.5 reduce contrast, pulling values toward the midpoint, while values above 0.5 increase it, pushing values away from the midpoint toward 0 and 1. Accepts spatial input for per-pixel control.
Tips and Tricks
- The effect works on each RGB channel independently when processing color data.