Skip to content

What is a Rust heightmap? How grey becomes terrain

Quick answer: a Rust heightmap is a square greyscale picture where each pixel’s brightness is the ground height at that spot: black is the bottom of the world, mid grey is sea level and white is the highest the ground can go. RustEdit turns it into the 3D terrain players walk on.

A Rust heightmap seen from above in shades of grey: Drizzza's free volcanic map before it becomes terrainThe same volcanic Rust map raised into 3D terrain, with grass, desert, snow, beaches and sea
Crucible Volcanic 3800, Drizzza’s free map made with Crucible Heightmap. Press play or drag the slider to raise its heightmap into the finished map, and drag the map to turn it. The greys are brightened here so the shapes are easy to see.

Rust’s ground runs through 1000 metres of height, with sea level halfway up. A heightmap spreads its greys evenly over that range:

GreyHeight in game
Black500 m below sea level, the bottom of the world
Mid greySea level
White500 m above sea level, the highest ground Rust allows

So the sea floor is dark, beaches sit just above mid grey and mountain tops are the brightest pixels. A real island uses only part of the range, which is why the heightmap of a whole map looks like soft grey with slightly darker sea around it:

The real 16-bit greyscale heightmap of Crucible Volcanic 3800, a custom Rust map, in soft greys with the sea a little darker than the land

Crucible Heightmap’s 2D view stretches the greys so the shapes are easy to read, with high ground bright and the sea dark. The heightmap it exports keeps the true greys.

Crucible Heightmap's 2D heightmap view of an island, with the greys stretched so high ground reads bright and the sea dark

Rust heightmaps are 16-bit greyscale, which gives 65,536 greys. Spread over 1000 metres, that is about 1.5 cm of height per grey, so slopes come out smooth.

An 8-bit picture, like a normal photo, has only 256 greys. Each step is then about 4 metres of height, and every slope turns into visible terraces in game. That is why a heightmap painted in a normal image editor and saved as 8-bit looks stepped, and why Crucible Heightmap always writes 16-bit.

A heightmap is a square grid, and its size follows the map size: 513, 1025, 2049 or 4097 pixels across. Each pixel covers between 1 and 2 metres of ground. The exact steps are on Rust heightmap resolution, and which map size to pick is on Rust map sizes.

A heightmap is height and nothing else. Everything else on a Rust map lives in its own layer of the .map file:

  • the ground textures: grass, dirt, sand, rock, snow, forest floor
  • the biomes: temperate, arid, tundra, arctic and jungle
  • the topology layers that tell Rust where trees, ore, loot and player spawns go (see Rust biomes and topology)
  • the water, monuments, roads and prefabs

So a .raw or .png heightmap brings bare terrain only. That is why Crucible Heightmap’s main export is a whole Rust .map file, which carries the ground textures, biomes, topology, lakes and cliffs along with the height.

Open a .map in RustEdit and its heightmap loads as the terrain, with every other layer on top.

To start from a bare heightmap instead, open RustEdit’s Create New Map dialog, set the map size and the heightmap resolution that goes with it, and pick your 16-bit .raw file. RustEdit raises it into terrain, and from there you add the monuments, roads and the rest. Step by step: how to make a custom Rust map.

RustEdit Create New Map dialog showing the Heightmap field and import workflow for applying a heightmap to a Rust map

Painting a natural-looking 16-bit heightmap by hand is slow work. Crucible Heightmap is a Rust map generator that makes Rust-shaped terrain for you, lets you shape it with sliders and brushes, and exports it as a ready-to-open .map, a .raw or a .png.