Concept

Height Map

A height map is a grayscale image that stores elevation values for terrain, displacement, parallax effects, and surface relief in 3D workflows.

What is Height Map?

Height Map is a grayscale texture or raster image that stores elevation values for displacing or shaping a surface. Darker pixels usually represent lower areas, and brighter pixels usually represent higher areas. Height maps are commonly used for terrain generation, mesh displacement, and material-based surface relief.

How it works

A height map works by mapping pixel intensity to a vertical offset along a surface normal or a chosen up axis. Higher bit depth, such as 16-bit or 32-bit data, gives smoother elevation transitions than 8-bit data and reduces visible stair-stepping. In real-time rendering, a height map may drive parallax occlusion mapping or tessellation-based displacement instead of directly changing the base mesh. In offline rendering and sculpting workflows, it can be converted into actual geometry or used as a displacement texture for high-detail surfaces.

Use cases

  • Creating mountains, valleys, roads, and other terrain forms from image data.

  • Adding brick, rock, skin, fabric, or carved surface relief through displacement.

  • Baking sculpted detail into textures for game assets and rendered materials.

Related Tools

Online 3D Viewer

View and inspect any 3D file right in your browser.

3D File Converter

Convert between FBX, OBJ, GLB, STL and more.

3D File Compressor

Shrink 3D file size without losing visible quality.

3D Text Generator

Turn text descriptions into 3D text and shapes.

Frequently Asked Questions

A height map is an image that stores elevation values for a surface. Each pixel represents a height, which can be used to displace geometry, create terrain, or simulate surface depth in a material.

A height map stores scalar elevation values, while a normal map stores surface direction vectors encoded as color. Height maps can move or offset surfaces, while normal maps usually change lighting without changing the silhouette.

A bump map is often a grayscale texture used to fake small lighting changes on a surface. A height map also uses grayscale values, but it is commonly interpreted as measurable elevation and may be used for real displacement or terrain generation.

Yes. A height map can create real geometry when it drives mesh displacement, subdivision displacement, tessellation, or terrain generation. If it is used only for bump or parallax effects, it changes shading or texture sampling rather than the actual mesh.

Common height map formats include PNG, TIFF, EXR, RAW, and other raster formats that can store grayscale data. For precise terrain or displacement, 16-bit, 32-bit, or floating-point formats are preferred over 8-bit images.

Bit depth controls how many height levels the image can store. An 8-bit height map has 256 levels, which can cause banding or stepped terrain, while 16-bit and 32-bit height maps provide much smoother elevation changes.

No. A height map should usually be treated as non-color or linear data because its pixel values represent measurements, not display colors. Applying color management or gamma correction can distort the interpreted heights.

The zero or neutral height depends on the software and shader setup. Some workflows treat black as the lowest point and white as the highest point, while others use mid-gray as neutral so values can displace both inward and outward.

No. Height maps are widely used for landscapes, but they are also used for tiles, bricks, rocks, bark, fabric, skin pores, engravings, and other surface details that need elevation information.