TA Toolbox Home / Tool Tutorial

HDR/HDRI Environment Map Editing: From Basics to Advanced Techniques

2026-08-24

Introduction

HDR (High Dynamic Range) environment maps, often HDRI files, contain a wider brightness range than normal images and are used for image-based lighting (IBL) in 3D rendering. Editing HDRI can adjust lighting mood, fix imperfections, or create custom environments. This tutorial will guide you through editing HDR maps with various tools.

Editing HDR with Photoshop

Opening and Converting

Photoshop supports 32-bit floating-point HDR files (e.g., .hdr, .exr). Simply open them. If the image is 8-bit, you can convert to HDR via "Image" > "Mode" > "32 Bits/Channel", but no additional information is gained.

Basic Adjustments

  • **Exposure**: Use "Image" > "Adjustments" > "Exposure" to adjust overall brightness.
  • **Levels/Curves**: Available in 32-bit mode, but recommended to adjust in 16-bit mode and convert back.
  • **Fixing Imperfections**: Use the Clone Stamp or Healing Brush to remove unwanted objects (like tripods). Note that some tools are limited in 32-bit mode; convert to 16-bit for editing and return.

Compositing and Modifying

  • Adding lights: Use the Brush tool to paint highlights or gradients to change sky color.
  • Replacing areas: Use layer masks to combine multiple HDRs.

Using GIMP

GIMP has limited HDR support but can work via plugins (like G'MIC) or by converting to 16-bit float TIFF. Specialized tools are recommended.

Using Blender

Blender has a powerful compositor and 3D viewport for editing HDRI.

Importing and Editing

  1. Switch to the "Compositing" workspace in Blender.
  2. Import HDRI as an Image input node.
  3. Use color nodes (such as Brightness/Contrast, Hue/Saturation) for adjustments.
  4. Output the edited image.
  5. Painting and Modifying

    Use Texture Paint mode in the 3D viewport to directly modify the environment map.

    Professional Tools

    • **Substance Designer**: Node-based editing, can procedurally modify HDRI.
    • **Affinity Photo**: Supports 32-bit editing, offers HDR merging and tone mapping.
    • **Luminance HDR**: Open-source HDR processing software with many operations.

    Common Editing Operations

    • **Adjust Color Temperature**: Change overall mood, e.g., from day to dusk.
    • **Reduce Overly Bright Areas**: Use highlight compression or tone mapping.
    • **Blur or Sharpen**: Change the clarity of environment reflections.
    • **Crop and Rotate**: Change light direction.

    Format Conversion

    • Save as .hdr or .exr to preserve dynamic range.
    • For web preview, tone map and save as LDR format (like JPEG).

    Notes

    • **Linear Workflow**: Ensure editing in linear color space to avoid color shifts.
    • **Backup Originals**: HDR editing can be error-prone; keep original files.

    Summary

    Editing HDRI requires appropriate tools and understanding of HDR characteristics. Photoshop and Blender are common choices, while professional software provides more control. By adjusting exposure, color, and compositing, you can create ideal lighting environments.

FAQ

Why do my HDRI colors turn gray after editing?

It may be incorrect color management settings; ensure editing in linear space or convert to 32-bit mode. Editing in 8-bit mode loses dynamic range.

How to reduce the brightness of the sun in HDRI?

Use Photoshop's exposure adjustment or curves to locally reduce highlights, or use color grading nodes in Blender.

How to combine multiple photos into an HDRI?

Use Photoshop's "Merge to HDR Pro" or professional software like PTGui, Luminance HDR, by shooting multiple exposures and merging.

Can I paint directly on HDRI?

Yes, use brushes in 32-bit mode, but be mindful of brush dynamic range. Blender's texture paint mode is better for direct editing in 3D environment.

How to optimize HDRI for game engines?

Usually need to remap dynamic range, crop and adjust resolution, and save in engine-supported formats (.hdr or .exr).