Bias/Gain

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.

  1. Adjust Bias to shift the overall brightness up or down.
  2. Adjust Gain to increase or decrease contrast around the midpoint.
  3. For localized adjustments, connect masks to the Bias or Gain parameter ports.

Inputs

PortTypeRequiredDescription
Primary InputHeightfield or RGBYesThe terrain or color data to adjust
Mask InputHeightfieldOptionalControls where the effect is applied

Outputs

PortTypeDescription
Primary OutputHeightfield or RGBThe 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.
Updated on December 3, 2026
Was this article helpful?

Related Articles

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