What a Height Map Is and Why Bit Depth Matters
Grayscale luminance stores vertical elevation at every texel, making resolution symmetry and quantization depth critical before slope conversion.
A height map (also called an elevation or bump map) is a single-channel grayscale image where every pixel encodes relative surface altitude rather than color. Pure black (0) marks the deepest crevice or mortar joint, mid-gray (128) represents neutral ground level, and pure white (255 in 8-bit, or 65,535 in 16-bit) represents the highest raised ridge. Because shading engines convert elevation differences directly into directional surface slopes, input quality governs normal map accuracy.
Always prepare your height map at a clean power-of-two resolution—such as 512×512, 1024×1024, 2048×2048, or 4096×4096—so GPU mipmaps filter cleanly without edge bleeding. When baking elevation from ZBrush, Blender, Houdini, or Substance Designer, avoid JPEG compression: 8-bit JPG blocks introduce square ringing artifacts that normal-map gradient filters immediately amplify into visible grid noise. Even an uncompressed 8-bit PNG only carries 256 distinct gray steps, which can show faint contour rings across gradual slopes; smoothing lightly before slope calculation or working with 16-bit displacement exports keeps subtle terrain gradients clean.