HDRI

Also known as: High dynamic range image · HDRI map

On this page 7

HDRI, short for high dynamic range image, is a raster image that stores scene-referred light values in floating-point form instead of display-ready brightness levels, so it can record everything from a dark shadow to the disc of the sun in one file. In lighting & rendering for 3D graphics & animation, the term almost always means an HDRI map: a 360-degree spherical panorama of a real or synthetic environment that a render engine wraps around the scene to provide light, reflections and background at once.

Because the pixels encode physical radiance ratios rather than clipped 8-bit values, an HDRI behaves like a recorded light field. A render engine can sample it during image-based lighting, which makes it one of the fastest routes to believable illumination for product shots, vehicles, characters and architectural visualization.

How an HDRI stores light

An HDRI stores light by giving each pixel floating-point channel values that are not limited to the 0 to 1 range of ordinary images. A white wall in shade might hold a value near 0.8, while the sun can exceed 50,000 or more, so the ratio between bright and dark areas survives intact. That ratio is what lets a renderer cast correct shadows and highlights.

Photographers create most HDRI maps by bracketing exposures: a camera captures the same view at many shutter speeds, often 7 to 11 frames spaced one to three stops apart, and software merges them into a single radiance image. Capturing the full sphere requires several directions or a fisheye lens, followed by stitching into an equirectangular projection with a width-to-height ratio of 2:1.

The following table compares the file formats commonly used for HDRI maps and what each one offers in a production pipeline.

FormatPrecisionTypical use
Radiance HDR (.hdr)8-bit mantissa with shared exponentWidely shared environment maps
OpenEXR (.exr)16-bit half or 32-bit floatFilm and VFX pipelines, compositing
TIFF float32-bit floatPhotographic archives, less common in 3D
Tone-mapped JPEG8-bit display valuesPreviews only, not suitable for lighting
Common HDRI file formats

Projections, resolution and dynamic range

The equirectangular (latitude-longitude) layout is the default projection for HDRI maps because every render engine can read it, although some pipelines use cube maps or angular maps for real-time engines and older tools. The projection decides how pixels map to directions, so a wrong mapping causes visibly bent horizons and misplaced light sources.

Resolution matters mainly for what the camera sees directly or in sharp reflections. For lighting alone, a 2K or 4K map is usually sufficient, because diffuse illumination averages large areas of the sphere. The table below summarizes typical resolutions and their roles.

ResolutionSize in pixelsBest suited for
1K to 2K1024 x 512 to 2048 x 1024Diffuse lighting, previews, look development
4K4096 x 2048General lighting with moderate reflections
8K8192 x 4096Glossy reflections on cars and products
16K and above16384 x 8192Visible backgrounds in close-up shots
Typical HDRI resolutions and their roles

Dynamic range is the decisive quality measure. An unclipped sun in an outdoor HDRI produces crisp, directional shadows, while a map whose sun is clipped at a low value yields flat, overcast-looking light even when the image appears sunny. Experienced artists check the peak pixel value before trusting a map for daylight scenes.

HDRI compared with other light sources

An HDRI differs from analytic lights such as the area light, point light, spotlight and directional light because it supplies light from every direction at once, with real color variation across the sky and ground. Analytic lights are precise and cheap to sample, while an HDRI offers realism with little setup but less direct control over individual shadows.

AspectHDRI environmentAnalytic lights
Setup timeMinutesLonger for multi-light rigs
Realism of reflectionsHigh, real surroundingsLimited without extra geometry
Art directionRotation, exposure, tintFull control per light
Sampling noiseHigher with small bright sourcesLow for simple lights
Shadow precisionDepends on map dynamic rangeExact and adjustable
HDRI lighting compared with analytic lights

Most production scenes combine both approaches: the HDRI provides ambient fill and believable reflections, and a few analytic lights add controlled key light and rim light. Modern engines such as Cycles, V-Ray, Arnold, Redshift and Karma use importance sampling of the environment, which directs more rays toward bright regions of the map and keeps noise under control.

Using an HDRI in a render engine

Using an HDRI starts with loading the map into the world or dome light of the render engine, then adjusting rotation, exposure and visibility. Rotation places the sun or the main window where the shot needs it. Exposure scales the overall brightness in stops, and many artists separate camera visibility so that a studio backdrop or a matte painting can replace the background.

The following decision table lists frequent situations and the recommended way to handle the map in each one.

SituationRecommended setupReason
Product on white backdropStudio HDRI, hidden from cameraClean reflections without a busy background
Car in a real locationMatching outdoor HDRI, 8K or higherReflections must match the plate
VFX integration into footageMap shot on set at the same timeLight direction and color must agree
Character look developmentNeutral overcast mapReveals materials without harsh shadows
Exterior architectureClear sky map plus sun lightSharp shadows with controllable angle
Choosing an HDRI setup for common shots

For visual effects integration, the on-set map is usually captured together with a gray ball and a chrome ball, which lets artists verify that the virtual lighting matches the plate. Color management also matters: an HDRI should be interpreted as linear scene-referred data, not passed through a display transform before rendering.

Limitations and common mistakes

An HDRI is a single point of view, captured from one position, so it assumes that the environment is infinitely distant. Objects that move far from the capture point show wrong parallax, and nearby walls or floors in the map do not cast correct contact shadows. Many engines offer projected or ground-shadow options to reduce this problem.

  • Clipped highlights give weak, soft light even in sunny maps.
  • Baked-in tone mapping from a JPEG source makes light values physically wrong.
  • Wrong orientation or a tilted horizon misaligns reflections with the scene.
  • Tiny, extremely bright suns increase noise unless the engine importance-samples the map or the sun is replaced by a separate light.
  • Visible stitching seams or tripod remnants appear in mirror-like reflections.

Licensing is a practical limitation as well. Some HDRI libraries are released under permissive public domain terms, while others restrict commercial use, so studios keep license records for every map used in client work.

Put simply

An HDRI is a photograph of all the light around one spot, taken in every direction at once. Normal photos cut off very bright and very dark parts, but an HDRI keeps the real brightness of the sun, the sky and the shadows.

In 3D work, artists wrap this photo around a virtual scene like a giant sphere. The computer then lets that sphere light the objects and appear in their reflections. The result is lighting that looks real with very little effort, because it comes from a real place.

In practice

A freelance 3D artist must render a set of wristwatch images for an online store. The client wants polished steel cases that reflect a bright, airy studio, yet the final background must be pure white. The artist loads an 8K studio HDRI with large softbox panels into the dome light and hides it from camera, so the background renders as white while the reflections still show the softboxes.

Rotating the map by about 40 degrees moves a long highlight across the watch bezel, and an exposure change of minus half a stop keeps the steel from blowing out. A single small area light adds sparkle to the crystal. The artist delivers twelve consistent product shots in one afternoon with no complex light rig, and swapping to a warmer HDRI later produces an alternative mood for a seasonal campaign.