How to Set Up HDRI Lighting in Blender
Using a High Dynamic Range Image (HDRI) is one of the fastest and most effective ways to achieve realistic environment lighting and reflections in Blender. This guide provides a straightforward, step-by-step tutorial on how to set up an HDRI in both the Cycles and Eevee render engines, covering everything from loading the image texture in the World settings to adjusting its rotation and brightness.
Step 1: Access the World Properties
To begin, you need to apply the HDRI to the background of your virtual world. 1. Open your Blender project and locate the Properties panel on the right side of the screen. 2. Click on the World Properties tab, which is represented by a red globe icon.
Step 2: Add an Environment Texture
By default, Blender uses a solid gray color for the background. You must change this to accept an image. 1. Locate the Surface section within the World Properties. 2. Click on the yellow dot next to the Color input field. 3. From the pop-up menu under the “Texture” column, select Environment Texture (do not confuse this with Image Texture). The viewport background will turn bright pink, indicating that no image file is loaded yet.
Step 3: Load Your HDRI File
Now you need to import your specific HDRI file (typically in
.hdr or .exr format). 1. Click the
Open button that appeared under the Color settings. 2.
Navigate your computer’s files to find your downloaded HDRI. 3. Select
the file and click Open Image.
Step 4: Preview the Lighting
To see the HDRI light your 3D scene: 1. Hover your cursor over the 3D Viewport. 2. Press Z on your keyboard and select Rendered from the pie menu, or click the furthest right shading sphere in the top-right corner of the viewport.
Step 5: Rotate and Adjust the HDRI (Optional)
Often, you will need to rotate the HDRI to change the direction of the sun or light source. 1. Switch your top workspace to the Shading tab, or change an editor window to the Shader Editor. 2. In the top-left header of the Shader Editor, change the drop-down menu from Object to World. You will now see the nodes controlling your background. 3. Ensure the Node Wrangler add-on is enabled (go to Edit > Preferences > Add-ons, search for “Node Wrangler”, and check the box). 4. Click on the Environment Texture node to select it, and press Ctrl + T. This automatically adds a Texture Coordinate node and a Mapping node. 5. Adjust the Z Rotation value on the Mapping node to rotate the environment light around your scene.
Step 6: Adjust Brightness and Transparency
- To change the brightness: Adjust the Strength slider on the Background node in the Shader Editor or under the World Properties tab.
- To make the background transparent (retaining the light): Go to the Render Properties tab (camera icon), scroll down to the Film dropdown, and check the box next to Transparent. Your objects will still be lit by the HDRI, but the background image will be invisible.