Back to Lighting

Part 16: CALIBRATION

~41 min5 sections

What you'll learn:

  • The 18% grey reference — why it's the universal exposure standard
  • Building a calibration Blueprint for consistent lighting
  • UE5's exposure hierarchy — Project Settings, Viewport, PPV
  • Metering modes — Manual, Auto Basic, Auto Histogram
  • Practical calibration workflow

Section 63: The 18% Grey Reference (8 min)

When you photograph a scene, you need a way to verify exposure is correct. The solution: 18% grey — a surface that reflects exactly 18% of incoming light.

Why 18%? It's the geometric mean of black (0%) and white (100%):

√(0 × 100) ≈ 18%

This represents the "middle" of a scene's luminance distribution.

Professional calibration uses standardized reflectance values:

ReferenceReflectancePurpose
Specular Black5%Deep shadow reference
18% Grey18%Mid-tone reference
Specular White90%Highlight reference
Chrome Ball~100% (mirror)Reflection/environment check

When a camera's meter sees 18% grey and reports "correct exposure," everything in the scene will be properly exposed:

  • Shadows retain detail
  • Highlights don't clip
  • Mid-tones appear natural

If 18% grey looks too dark → underexposed If 18% grey looks too bright → overexposed

In linear light (what physics measures), 18% is 0.18. In perceptual space (what we see), this appears as "middle grey" — about halfway between black and white.

Linear 0.18 ≈ sRGB 0.5 (middle grey)

This is why gamma correction exists — to map
physical values to perceptual values.

Section 64: Building a Calibration Reference (10 min)

A calibration Blueprint gives you:

  • Consistent reference across all scenes
  • Quick verification of exposure settings
  • Visual check of lighting quality
  • Training data consistency (for ML workflows)

Create a Blueprint with four reference spheres:

Content Browser → Right-click → Blueprint Class → Actor
Name: BP_LHT_Calibration

Components

ComponentMaterialPurpose
Black Sphere5% reflectanceShadow detail check
Grey Sphere18% reflectanceExposure verification
White Sphere90% reflectanceHighlight clipping check
Chrome SphereMirror materialEnvironment/reflection check

Material Setup

For the reference spheres, create simple unlit or base color materials:

Black Material:
  Base Color: (0.05, 0.05, 0.05)
  Roughness: 1.0

Grey Material:
  Base Color: (0.18, 0.18, 0.18)
  Roughness: 1.0

White Material:
  Base Color: (0.9, 0.9, 0.9)
  Roughness: 1.0

Chrome Material:
  Base Color: (1, 1, 1)
  Metallic: 1.0
  Roughness: 0.0

Note: These values are in linear space. If using sRGB input, the values would be different.

Blueprint Layout

Arrange the spheres in a row with clear separation:

┌─────────────────────────────────────────┐
│                                          │
│  ●        ●        ●        ◐           │
│ Black   Grey    White   Chrome          │
│  5%      18%      90%    Mirror         │
│                                          │
└─────────────────────────────────────────┘
  1. Place BP_LHT_Calibration in your scene
  2. Position it where your subject will be lit
  3. Adjust exposure until the grey sphere looks "middle grey"
  4. Verify: black has detail, white isn't clipped
  5. Check chrome ball for reflection quality

Section 65: UE5 Exposure Hierarchy (8 min)

UE5 has multiple places to control exposure. They layer on top of each other:

Project Settings (base default)
    ↓ overridden by
Viewport Settings (editor preview only)
    ↓ overridden by
Post Process Volume (scene-specific)
    ↓ overridden by
Camera Actor / Cine Camera (per-camera)
    ↓ separate context
Scene Capture (must be configured manually)

In both PPV and Cameras, each setting has a checkbox:

  • Unchecked = Inherit from level above
  • Checked = Override with this value

This lets you override only what you need.

The global defaults for your entire project:

Edit → Project Settings → Engine → Rendering → Default Settings
SettingWhat It Does
Auto ExposureEnable/disable eye adaptation globally
Exposure CompensationBase EV offset for entire project
Min/Max BrightnessClamp range for auto exposure

Apply Physical Camera Exposure

This toggle must be enabled for ISO and Shutter Speed to affect exposure.

Project Settings → Rendering → Default Settings:
  [x] Apply Physical Camera Exposure

Without this, ISO and Shutter Speed values are ignored — only Exposure Compensation matters.

When working in the editor, you might want to preview different exposure without changing your project:

Viewport → Lit dropdown → Exposure → [options]
OptionWhat It Does
Game SettingsUse actual project/PPV settings (what players see)
AutoViewport-only auto exposure
Fixed EV100Specific exposure value — slider appears

Critical: Viewport exposure is editor-only. It does NOT affect Play mode, packaged builds, or cinematics.

If your scene looks right in the viewport but wrong in Play mode, check if you're using viewport exposure override.


Section 66: Post Process Volume Exposure (10 min)

Post Process Volumes control exposure for regions of your level:

  1. Place Actors → Post Process Volume
  2. Details → Post Process Volume Settings
  3. Enable Infinite Extent (Unbound) for level-wide settings

The fundamental choice:

ModeHow It WorksBest For
ManualNo scene analysis — you set the exposureCinematics, camera matching, controlled environments
AutoCamera adapts to scene brightnessGames, dynamic environments

In Manual mode, exposure is entirely controlled by Exposure Compensation:

Exposure Multiplier = 2^(Exposure Compensation)

EC = 0   →  1×    (neutral)
EC = +1  →  2×    (twice as bright)
EC = -1  →  0.5×  (half as bright)
EC = +2  →  4×    (four times as bright)

In Manual mode, Min/Max EV100 are ignored. Only Exposure Compensation matters.

UE5 offers two auto exposure algorithms:

ModeAlgorithmBest For
Auto BasicCenter-weighted averageSimple scenes, performance
Auto HistogramAnalyzes luminance distribution, ignores extremesHigh contrast scenes

With Auto Basic or Auto Histogram:

Scene Brightness
    ↓
Calculate EV from scene
    ↓
Clamp to Min/Max EV100 range
    ↓
Apply Exposure Compensation offset
    ↓
Final Exposure
SettingWhat It Does
Min EV100Floor — exposure never brighter than this allows
Max EV100Ceiling — exposure never darker than this allows
Speed Up / Speed DownHow fast exposure adapts
Low/High PercentHow much of histogram extremes to ignore
ProblemFix
Shadows too darkLower Min EV100
Highlights blowing outLower Max EV100
Exposure "hunting"Narrow Min/Max range or increase Speed times

Section 67: Direction Summary (5 min)

Different controls move in different directions. Reference this when confused:

Setting+ / Higher- / Lower
Viewport EV100 sliderDarkerBrighter
PPV Min/Max EV100Allows darker outputAllows brighter output
Exposure CompensationBrighterDarker
UE5 Shutter Speed valueDarker (faster shutter)Brighter (slower shutter)
ISO valueBrighterDarker
Aperture f-stopDeeper DOFShallower DOF

EV100 describes what the scene IS:

  • Higher = "scene is bright" → camera compensates darker
  • Lower = "scene is dim" → camera compensates brighter

Exposure Compensation describes what you WANT:

  • Positive = "make it brighter"
  • Negative = "make it darker"

If you have overlapping volumes:

SettingWhat It Does
PriorityHigher priority wins
Blend Weight0-1, how much this volume affects result
Blend RadiusHow far the blend extends beyond volume
1. Enable Apply Physical Camera Exposure (Project Settings)
2. Place BP_LHT_Calibration in scene
3. Add Post Process Volume (Infinite Extent)
4. Set Metering Mode to Manual
5. Adjust Exposure Compensation until grey sphere looks correct
6. Verify: black has detail, white isn't clipped
7. Check chrome ball for lighting environment quality

Key Points:

  • 18% grey is the universal mid-tone reference (linear 0.18)
  • Calibration Blueprint with black (5%), grey (18%), white (90%), chrome spheres
  • Exposure hierarchy: Project Settings → Viewport → PPV → Camera
  • Apply Physical Camera Exposure must be enabled for ISO/Shutter to work
  • Manual mode: Exposure Compensation controls everything
  • Auto modes: Scene analysis + Min/Max EV100 clamping
  • Exposure Compensation is intuitive (positive = brighter)
  • EV100 is counterintuitive (higher = darker output)

Now that you understand exposure calibration, in Part 17: Camera Matching we'll configure UE5's camera systems to match real-world cameras — sensor sizes, focal lengths, and the complete matching workflow.