HDRI
Environment Lighting
Master High Dynamic Range Image lighting in Blender to create photorealistic scenes using real-world environment maps in the World shader.
What is an HDRI?
An HDRI (High Dynamic Range Image) is a special photograph that captures the full range of light intensity in a scene: from the deepest shadows to the brightest highlights. Unlike standard images limited to \( 2^8 = 256 \) brightness levels per channel, HDRIs store light values as floating-point numbers, often spanning a range of \( 10^{-4} \) to \( 10^{5} \) in luminance.
Why HDRI Lighting Matters
Equirectangular Projection
An HDRI is stored as an equirectangular image: a flat rectangle that maps to the inside of a sphere. The horizontal axis spans \( 360^\circ \) of longitude, and the vertical axis spans \( 180^\circ \) of latitude.
The World Shader Node Graph
In Blender, HDRI lighting is configured through the World properties using the Shader Editor. The core node chain connects three nodes together:
HDRI vs Manual Lights
| HDRI Lighting | Manual Lights | |
|---|---|---|
| Setup Time | Seconds: load one file | Minutes to hours |
| Realism | Photographically accurate | Requires skill to match |
| Reflections | Full 360° detail | Only light source visible |
| Control | Limited to image content | Full artistic control |
| Sharp Shadows | Soft only (usually) | Adjustable hardness |
| Best For | Product vis, exteriors | Stylized, interiors |
How to Set Up HDRI Lighting
Controlling Rotation with Mapping
To rotate the HDRI environment (e.g., to move the sun position), add a Texture Coordinate and Mapping node before the Environment Texture. The Z rotation value spins the entire environment around the vertical axis.
Strength and Exposure
There are two main ways to control overall brightness when using HDRI lighting:
Example 1: Basic Outdoor Scene
Goal: Light a simple sphere on a plane with a clear sky HDRI.
Example 2: Studio Product Shot
Goal: Use a studio HDRI for a product render with controlled reflections and soft gradients.
Example 3: Separate Lighting from Background
Advanced technique: Use one HDRI for lighting but render a different background (or transparent). This uses the Light Path node.
Resolution and Performance
HDRI files come in various resolutions. Higher resolution means sharper reflections but uses more memory and loads slower.
| Resolution | Pixels | File Size (.hdr) | Best Use |
|---|---|---|---|
| 1K | 1024 x 512 | ~2 MB | Quick previews |
| 2K | 2048 x 1024 | ~8 MB | Standard work |
| 4K | 4096 x 2048 | ~30 MB | Final renders |
| 8K+ | 8192 x 4096 | ~120 MB | Close-up reflections |
Cycles vs EEVEE with HDRI
Common Mistakes to Avoid
Quick Reference Summary
| Concept | Key Detail |
|---|---|
| Node Chain | Env Texture → Background → World Output |
| File Format | .hdr or .exr (never .jpg/.png) |
| Rotation Control | Tex Coord → Mapping (Z rotation) → Env Texture |
| Brightness Control | Background Strength (physical) or Film Exposure (post) |
| Separate BG | Use Light Path → Is Camera Ray with Mix Shader |
| Best Engine | Cycles for accuracy, EEVEE needs baked probes |
| Working Res | 2K preview, 4K+ final render |
Question 1 of 5
Which node must you use to load an HDRI file into Blender's World shader?
Question 2 of 5
What is the correct node chain for basic HDRI lighting in the World shader?
Question 3 of 5
To rotate the HDRI environment so the sun is behind the camera, which node and property do you adjust?
Question 4 of 5
Why should you use an .hdr or .exr file instead of a .jpg panorama for environment lighting?
Question 5 of 5
Which node allows you to use an HDRI for lighting only while rendering a different background for the camera?