Skip to main content

Normalise

The Auto-Ranger. Scans the entire input field to find the minimum and maximum values, then scales all values so that they fall exactly within the 0.0 to 1.0 range.

Ports

PortTypeDescription
Input FloatThe field to normalise.
Output FloatThe field scaled to 0-1.

Details

This node is extremely useful for "re-centring" data that has been modified by multiple math operations. If you add three noise fields together, your values might range from 0.0 to 3.0; Normalise will bring them back to the standard 0-1 range used by other nodes like Threshold or Biome Selector.

Potential Use Cases

  • Distance Field Cleanup: After generating a Distance Field, use Normalise to ensure the "farthest" point is exactly 1.0, making it easier to use in subsequent logic.
  • Combined Noise: If you've blended multiple noise fields with different intensities, use Normalise at the end of the chain to ensure the final result uses the full 0-1 range.
  • Dynamic Terrain: When generating heightmaps, use Normalise to ensure your "highest peak" always reaches the top of the allowed vertical range, regardless of the noise settings.