Skip to main content

Remap

The Calibrator. Scales and offsets values from one source range to a new destination range. This is essential for normalizing noise or creating specific value distributions for biomes.

Ports​

PortTypeDirectionDescription
Input FloatInputThe source float map.
Output FloatOutputThe remapped map.

Logic​

The Remap node performs a linear interpolation based on four parameters:

  • Input Min/Max: The expected range of your source data (e.g., 0.0 to 1.0).
  • Output Min/Max: The desired range for the result (e.g., 0.5 to 0.8).

Formula: Output = OutputMin + (Input - InputMin) * (OutputMax - OutputMin) / (InputMax - InputMin)

Parameters​

  • Input Min: Values at or below this point in the source will map to Output Min.
  • Input Max: Values at or above this point in the source will map to Output Max.
  • Output Min: The new minimum value.
  • Output Max: The new maximum value.

Potential Use Cases​

  • Noise Normalization: If a Perlin Noise node is outputting values between 0.3 and 0.7, use Remap to stretch them back to the full 0.0 to 1.0 range.
  • Inversion with Scaling: Set Output Min to 1.0 and Output Max to 0.5 to both invert and compress the range of an input.