Sub topic 6
What an HDRI Is and Where to Get One
This chapter assumes you can move around the 3D viewport, open the Shader Editor, and have rendered a simple scene in Cycles or EEVEE. It covers what an HDRI file contains, why it lights a scene so well, and how to choose and download a good one. The node setup that loads it comes in the next chapter.
What an HDRI Is
An HDRI (high dynamic range image) is a picture of an entire environment, stored with far more brightness range than a normal photo. Blender uses it as the World background and as a light source. Every pixel in the image acts as a tiny light shining toward your scene from that direction.
Two ideas are packed into the name.
- Panorama. An HDRI wraps all the way around the scene, like the inside of a sphere. Most files use the equirectangular layout. This is a flat 2:1 rectangle, where the horizontal axis is the compass direction (0 to 360 degrees) and the vertical axis runs from straight down to straight up. This is the same projection a world map uses, so the top and bottom rows are stretched.
- High dynamic range. Dynamic range is the ratio between the darkest and brightest values an image can hold. A typical JPEG stores each channel as a number from 0 to 255, and white is the ceiling. An HDRI stores floating-point values that can go far above 1.0. A cloudy sky might be 1.0, while the sun disc in the same image can be 10,000 or more.
That second point is why an HDRI can light a scene. If the sun is only "white" (1.0), it is as bright as a white cloud, and it will not cast a hard, bright shadow. When the sun pixels hold their true brightness, they produce strong directional light and crisp shadows, and the sky around them produces soft fill.
Why Not Just Use a Normal Photo?
You can load a JPEG or PNG as the World texture, and it will show up as a background. It lights the scene poorly, because every pixel is clamped at 1.0 and the image has been tone-mapped for display. The result is flat, low-contrast light with soft or missing shadows.
| Property | Standard photo (JPEG/PNG) | HDRI (EXR/HDR) |
|---|---|---|
| Bits per channel | 8 | 16 or 32 (float) |
| Maximum pixel value | 1.0 (255) | Often thousands |
| Color encoding | sRGB, display-ready | Linear, scene-referred |
| Sun and bright lamps | Clipped to white | Keep true intensity |
| Shadows from the image | Weak, soft | Defined, directional |
| Typical file size | 1–5 MB | 5–200 MB |
File Formats
You will meet three formats.
- .hdr (Radiance RGBE). An older format that stores a shared exponent for the three color channels. Files are small, precision is acceptable, and it is widely supported. Many free libraries still offer it.
- .exr (OpenEXR). The standard in film work. It stores 16-bit half-float or 32-bit float values per channel with little or no loss. Files are larger. Use EXR when you can, especially for 4K and above.
- .png or .jpg. These are low dynamic range. Treat them as backdrops, not light sources.
Blender opens all of these with the Environment Texture node. For HDR and EXR files it detects that the data is linear and sets the color space to Linear Rec.709 or Linear. You usually do not need to change anything. If you load a JPEG, the color space stays sRGB, which is correct for that file but gives weak lighting.
Resolution: How Much Do You Need?
HDRIs are listed by width in pixels. Higher resolution matters for two different jobs.
- Lighting. Light is a low-frequency signal. Even a 1K file (1024 pixels wide) lights objects convincingly, and a 2K file is generally plenty. Blender's own bundled lighting studio HDRIs are small for this reason.
- Visible background. If the HDRI shows in the camera view, or in sharp reflections on a mirror-like surface, you need more pixels. A 4K to 8K file avoids blur and visible pixelation.
A practical approach: work at 1K or 2K while setting up, since smaller files load faster and take less memory. Swap to a high-resolution version for the final render only if the background or reflections are visible. If you want a visible backdrop in the image but different from the lighting, you can also use a separate image for the background (a topic for the chapter on combining HDRIs with lamps).
What Kinds of HDRI Exist
The content of the image decides what lighting you get. When you browse a library, judge each file by its lighting character.
- Outdoor, clear sky with a visible sun. Strong, directional light with a hard shadow, plus blue sky fill. Good for product shots outside, architecture, and vehicles.
- Outdoor, overcast. Even, soft light with no defined shadow. Useful when you want a neutral, forgiving look.
- Sunrise and sunset. Low sun, warm color, long shadows. Check that the horizon is not blocked by buildings if you want a clean glow.
- Indoor and studio. Window light, softbox panels, ceiling lamps. Studio HDRIs often have a few large bright rectangles, which give you clean, controlled highlights on glossy objects.
- Night and urban. Small, intense point-like sources (streetlamps, signs) in a dark image. These are harder to render cleanly and tend to produce noise.
A useful check before you commit: open the file in an image viewer or in Blender's Image Editor and look for a small, very bright region. If there is one (a sun, a bare bulb, a window), you will get defined shadows. If the image is a smooth gradient, expect soft, shadowless light.
Where to Get One
Several sources provide HDRIs that are free to use, including for commercial work. Always check the license on the specific file.
- Poly Haven (polyhaven.com). A large library released under CC0, which means public domain and no attribution required. Files are offered at 1K to 16K in both HDR and EXR. It is the most common starting point. Blender also ships a Poly Haven add-on, which is covered in the Blender manual, that lets you browse and download from inside the program.
- ambientCG (ambientcg.com). Also CC0. It is mostly known for PBR materials, but it carries a selection of HDRIs.
- Blender's built-in studio lights. In the Viewport Shading options, the HDRI buttons use small bundled files. These are for the viewport, not the render. Their files can be found in Blender's
datafiles/studiolights/worldfolder in the installation, which you can load into a World shader if you want a quick neutral source. - Commercial libraries. Paid collections offer higher quality, curated studios, and known licensing terms for clients.
Checking a File Before You Use It
A few minutes of inspection saves time later.
- Aspect ratio is 2:1. Other ratios are not equirectangular and will look distorted on the sphere.
- Format is HDR or EXR. Otherwise the light will be weak.
- Sun or bright sources are present if you want hard shadows.
- Horizon is level. A tilted horizon makes the whole world lean. You can fix it by rotating the Mapping node, but a clean file is easier.
- Nothing unwanted at the bottom. Many captures show the tripod or the photographer on the ground. This rarely matters when the ground is covered by your own floor plane, but it appears in reflections.
How Blender Uses the Image Internally
When you plug an HDRI into the World, Blender treats the world as a huge emitter at infinite distance. This has consequences you can rely on.
- No parallax. Moving the camera or an object does not shift the background relative to the object, because the image is infinitely far away. A moving camera sees the same background direction.
- Direction only. The light that reaches a point depends on the direction of each pixel, not the position of the point. The whole scene receives the same environment.
- Importance sampling in Cycles. Cycles samples bright pixels more often so that the sun converges faster. It builds a sampling map from the image, which is why a very bright small region still renders reasonably, though it can be noisy at low sample counts.
Common Mistakes
- Using a JPEG as a light source. The scene looks dim and shadowless. Switch to an HDR or EXR file.
- Expecting the HDRI to move with the camera. It does not. The background stays fixed in world space. Rotating it is done with the Mapping node, covered next.
- Downloading 16K for every project. It uses large amounts of memory and slows scene loading without improving the lighting.
- Picking an HDRI by thumbnail alone. A pretty image can have flat light. Check for a sun or large bright source.
Exercise
You download a 4K JPEG panorama of a sunny beach and use it as the World texture. The render looks flat, with faint shadows, even though the sun is clearly visible in the picture. Give two reasons this happens and name what to download instead.
Show answer
A JPEG stores 8-bit values clamped at 1.0, so the sun is only as bright as a white cloud and cannot cast a strong directional shadow. The image is also sRGB and tone-mapped for display, not linear scene data. Download an HDR or EXR version of an HDRI with a sun, for example from Poly Haven, which keeps the true brightness values.
Exercise
You are lighting a product for a still image where the HDRI is never visible to the camera and there are no mirror-like reflections. Which resolution would you pick for the HDRI, and why?
Show answer
1K or 2K. Lighting is low-frequency, so a small file lights the object correctly, loads faster, and uses far less memory. A higher resolution only matters if the background or sharp reflections are visible.