Skip to main content

Hable (Uncharted 2 filmic)

The Hable tone mapper (also called "Uncharted 2 filmic") is a parametric S-curve developed by John Hable for the game Uncharted 2. Presented at GDC 2010, it gives precise independent control over the toe, linear section, and shoulder through seven parameters plus an exposure bias.

Hable Uncharted 2 on a day scene

How it works​

Partial function:

float3 partial(float3 x)
{
return ((x*(A*x + C*B) + D*E) / (x*(A*x + B) + D*F)) - E/F;
}

float3 result = partial(color * ExposureBias) / partial(W);

The division by partial(W) normalizes the curve so that the input value W maps exactly to 1.0.

Settings reference​

SettingDefaultDescription
A (Shoulder Strength)0.15Controls how the highlights roll off. Higher = more compression in the bright range.
B (Linear Strength)0.50Gain in the linear section.
C (Linear Angle)0.10Angle/tilt of the linear section against the toe.
D (Toe Strength)0.20How aggressive the dark-end compression is.
E (Toe Numerator)0.02Fine-tunes the toe lift.
F (Toe Denominator)0.30Controls toe curvature shape.
W (White Point)11.2Input luminance that maps to display white.
Exposure Bias2.0Pre-curve exposure multiplier (linear scale, not stops).
note

A to F are dimensionless curve shape parameters. The defaults reproduce Hable's original Uncharted 2 settings.

Tuning guide​

Making the image brighter overall: increase Exposure Bias (default is 2.0). This is a linear multiplier, not stops.

Softer highlight roll-off: reduce A (Shoulder Strength) toward 0.10.

More punch in the shadows: increase D (Toe Strength) to 0.30–0.40.

Changing the tone range: adjust W (White Point). Higher values compress a wider HDR range; lower values clip highlights earlier.

When to use Hable​

  • Action games, AAA-style projects with strong cinematic intent
  • When you want filmic contrast without the hue rotation that can occur in AgX
  • When you need to match the tone response of a reference from the PS3/X360 generation
Reference

GDC 2010, "Uncharted 2: HDR Lighting", John Hable. The full presentation and formula details are on filmicworlds.com.