Measuring Safety-Colour Hue Drift in UE5 Filmic and Blender 4.5 AgX

Matched source swatches can change hue as exposure rises, even when two colour pipelines agree on middle grey. In Proofloom’s deterministic CPU model, UE5 Default Filmic exceeds an 8.0° hue difference from AgX at a reported +0.284 EV for Safety Orange and +1.502 EV for Safety Red. A material can therefore retain its original albedo while its displayed safety colour diverges between pipelines.

Swatch Filmic–AgX breach criterion Reported breach exposure Filmic–AgX difference at +2 EV
Safety Orange >8.0° +0.284 EV +26.97°
Safety Red >8.0° +1.502 EV +15.26°

These are deterministic binary64 CPU colour-pipeline model sweeps, not native GPU renders. The sweep covers −2 EV to +4 EV. The measurements establish behaviour in the specified model; native Blender and Unreal captures remain a separate validation step. All reported sweep results here come from Proofloom’s supplied PL-STD-2.5 sweep summary.[1]

The 6.0° limit for Safety Yellow and 8.0° limits for Safety Orange and Safety Red are Proofloom studio acceptance thresholds. They are neither universal visibility thresholds nor safety-sign certification criteria. Their purpose is to make an otherwise subjective pipeline mismatch testable.

Exposure and the shared neutral fulcrum

For a scene-linear RGB vector (\mathbf{L}), exposure is a scalar multiplication:

[ \mathbf{L}_{E}=\mathbf{L},2^{E}. ]

Thus −2 EV multiplies the input by 0.25, +2 EV by 4, and +4 EV by 16. Blender documents this exposure operation before its colour-space conversion.[2] Multiplying all three channels by the same positive scalar preserves their ratios. The subsequent nonlinear colour pipeline determines how that brighter signal fits into the output gamut and luminance range.

Both modelled transforms share the exact neutral 0.18 → 0.18 fulcrum. This is a statement about the model’s neutral mapping, not a claim that an encoded screenshot should contain the value 0.18. Nor does a shared neutral anchor imply that coloured swatches have identical output hues at 0 EV.

The Filmic model uses Slope=0.88, Toe=0.55, Shoulder=0.26, BlackClip=0.0, WhiteClip=0.04, matching Epic’s documented defaults.[3] Those parameters identify the curve settings; they do not fully specify every matrix, gamut operation, grading control or output encoding in a native Unreal pipeline. A generic curve described as “ACES-like” is insufficient to reproduce this comparison.

Why highlights change the comparison

Blender describes AgX as deliberately desaturating highly exposed colours.[2] Moving a colour towards neutral reduces chroma. Its hue angle can remain relatively stable while that happens, but desaturation alone does not guarantee hue preservation.

Filmic also moves sufficiently bright colours towards white; Epic explicitly documents that behaviour.[3] The distinction is the path through colour space. Nonlinear channel compression and gamut handling can change channel ratios, producing a hue rotation on the way towards neutral. In the supplied model, the resulting orange and red differences exceed the studio limit.

These results identify a pipeline-level failure mode, not a single proven defective shader operation. Isolating the contribution of a matrix, shoulder function or gamut stage would require intermediate values and controlled changes to those stages. The scalar exposure operation itself does not explain a rotation through unequal RGB scaling.

For technical artists, the consequence is an exposure-dependent mismatch that a single reference screenshot can miss. For synthetic-data engineers, it is a potential difference in image appearance between rendering pipelines. The sweep does not measure classifier accuracy or demonstrate a downstream model failure; those require task-specific experiments.

Sweep breakdown and comparison baselines

The table below gives the complete reported numerical breakdown of the −2 EV to +4 EV sweep. “Unreported” means that the supplied summary contains no value, not that the test passed or the drift was zero.

Swatch Studio limit AgX reported absolute drift at +2 EV Filmic drift from its own 0 EV at +2 EV Filmic minus AgX at +2 EV Reported >8.0° Filmic–AgX breach
Safety Yellow ≤6.0° 1.53° ≤6.0° Unreported Unreported Unreported
Safety Orange ≤8.0° 3.14° ≤8.0° +20.10° >8.0° +26.97° >8.0° +0.284 EV
Safety Red ≤8.0° 5.96° ≤8.0° +12.46° >8.0° +15.26° >8.0° +1.502 EV

The AgX entries are the supplied absolute (|\Delta h_{ab}|) measurements. Their hue-reference baseline is not specified in the summary, so they must not silently be relabelled as AgX-versus-0-EV measurements. Their reported magnitudes meet the stated limits; reproducing them requires the original reference definition.[1] These are angular comparisons, not independent confirmation that each sample clears the chroma gate below.

The Filmic columns answer two explicitly different questions. Comparing Filmic at +2 EV with Filmic at 0 EV measures change within one pipeline. Comparing Filmic with AgX at +2 EV measures disagreement between pipelines at the same exposure. Subtracting their drift magnitudes does not recover the cross-pipeline difference: the baselines can differ, and absolute values discard direction.

The breach exposures retain the supplied precision. Without the sampling grid and crossing-search procedure, three decimal places do not establish an exact continuous root or a 0.001 EV uncertainty. Likewise, passing at +2 EV does not establish a pass everywhere from −2 EV to +4 EV. No unreported samples or smooth curves are inferred here.

Measure circular hue only where chroma is valid

Convert both outputs to CIELAB using the same declared reference white and conversion procedure. Decode their output transfer functions before converting display RGB to XYZ and Lab. Record the RGB primaries and any chromatic adaptation; comparing Lab triples calculated under different assumptions introduces another source of disagreement.

For Lab coordinates ((L^,a^,b^*)), calculate the chroma and hue angle:[5]

[ C^_{ab}=\sqrt{(a^)^2+(b^)^2},\qquad h_{ab}=\operatorname{atan2}(b^,a^*)\frac{180}{\pi}. ]

The signed shortest-arc hue difference is:

[ \boxed{\Delta h_{ab}=\big((h_{\mathrm{test}}-h_{\mathrm{reference}}+180^\circ)\bmod360^\circ\big)-180^\circ.} ]

Its range is ([-180^\circ,180^\circ)), with the antipodal tie represented as −180°. Acceptance uses (|\Delta h_{ab}|\leq\tau). A transition from 359° to 1° therefore measures +2°, not −358°. This angular quantity is not a colour-difference metric such as ΔE00, nor is it the CIELAB hue-difference component expressed in Lab units.

Near neutral, (a^) and (b^) approach zero and the hue angle becomes unstable. At zero chroma it is undefined. A library returning zero for atan2(0, 0) does not make that sample a valid hue measurement. White highlights must not pass because both computed angles happen to be zero.

Require finite chroma at or above a declared minimum for both samples. Choose that floor from the measurement precision and intended use, record it in the test contract, and retain invalid samples in the report. Hue stability also cannot prove that a safety colour remains sufficiently saturated or bright; those need separate acceptance criteria.

A hue gate in 30 lines

The following standard-library function implements the pairwise pl_std_2_5 hue gate. It consumes already-converted Lab triples and requires an explicit minimum chroma, fixed before collecting the sweep. The colour argument accepts "yellow", "orange" or "red"; min_chroma is in CIELAB chroma units. It does not implement AgX, Filmic, RGB decoding or Lab conversion.

from math import atan2, degrees, hypot, isfinite

def pl_std_2_5(reference_lab, sample_lab, colour, *, min_chroma):
    limits = {"yellow": 6.0, "orange": 8.0, "red": 8.0}
    def reject(reason):
        return {"pass": False, "reason": reason, "delta_deg": None}
    try:
        if type(colour) is not str or colour not in limits:
            return reject("INVALID_COLOUR")
        if (type(min_chroma) not in (int, float) or
                not isfinite(min_chroma) or min_chroma <= 0):
            return reject("INVALID_CHROMA_FLOOR")
        for lab in (reference_lab, sample_lab):
            if type(lab) not in (list, tuple) or len(lab) != 3:
                return reject("INVALID_LAB")
            if any(type(v) not in (int, float) for v in lab):
                return reject("INVALID_LAB")
            if not all(isfinite(v) for v in lab):
                return reject("INVALID_LAB")
            chroma = hypot(lab[1], lab[2])
            if not isfinite(chroma) or chroma < min_chroma:
                return reject("INVALID_CHROMA")
        h0 = degrees(atan2(reference_lab[2], reference_lab[1]))
        h1 = degrees(atan2(sample_lab[2], sample_lab[1]))
        delta = (h1 - h0 + 180.0) % 360.0 - 180.0
        passed = abs(delta) <= limits[colour]
        return {"pass": passed, "reason": "PASS" if passed else "HUE_DRIFT",
                "delta_deg": delta}
    except (TypeError, ValueError, OverflowError):
        return reject("INVALID_NUMBER")

For an exposure comparison, pass the chosen transform’s 0 EV Lab value as the reference. For the Filmic–AgX comparison, pass AgX at the same exposure as the reference and Filmic as the test. Keep that choice in the surrounding receipt; identical function calls cannot establish that their inputs came from comparable pipelines.

The gate rejects numeric strings, booleans, non-finite values, malformed triples and invalid chroma. An invalid measurement cannot pass. The fixed colour thresholds prevent a caller from quietly loosening the acceptance limit; the chroma floor remains an explicit policy input. Compare unrounded angles, then round for presentation. CI must fail whenever result['pass'] is false; invalid inputs are failures too.

A regression suite should exercise wraparound, both signs of threshold crossings, invalid values in each Lab component, chroma rejection and JSON output without non-finite numbers. Those checks validate the small gate; the exposure model and its reported measurements require their own verification. Use a separate regression suite for transform evaluation and retain the baseline identity with every sample. A correct angle calculation cannot repair an incorrectly decoded image.

Fix the colour contract before changing albedo

Lock the working space and input interpretation. Specify the scene-linear primaries, white point and texture decoding. “Linear” describes a transfer relationship, not a complete colour space. Keep the original albedo values and their colour-space metadata together. A texture that was decoded incorrectly should be corrected at import; an exposure-dependent display mismatch should be addressed in the display pipeline.

Pin the output transform. Record the Blender build, OCIO configuration and referenced LUT hashes, selected display, view and look, plus Unreal’s build and colour controls. Blender supports a shared OCIO configuration.[2] Identical configuration filenames alone are insufficient: the selected transforms and processing order must also match.

For an offline comparison, a useful option is to export scene-linear images and apply one shared output transform externally. Unreal’s Movie Render Queue provides a Color Output setting for a custom OCIO configuration and for disabling its Tone Curve.[4] Verify the actual exported signal before applying the shared transform. Applying it to an image that already contains another display transform compounds the processing. This workflow also needs its own validation; choosing OCIO does not automatically make two renderers identical.

Define the supported exposure range. Freeze automatic exposure and white balance during calibration, then test the production envelope explicitly. Keep hue, chroma and lightness results together. The +0.284 EV orange breach makes exposure range a material part of this model’s compatibility claim, but it is not a universal camera setting or a guaranteed safe limit below that value.

Avoid compensating by painting orange towards another hue until one bright screenshot matches. That ties the source asset to one exposure and output transform, and can worsen its behaviour elsewhere. If different target pipelines remain necessary, publish their supported ranges and preserve separate validation receipts.

Carry the model into native validation

A reproducible sweep receipt should include source swatch values and their encoding, model revision, transform dependencies, neutral-normalisation rule, exposure samples, crossing-search method, Lab conversion and chroma floor. Store each reference and test Lab triple, the signed angle, threshold and status. Include the count of rejected samples alongside the count of passes: dropping low-chroma highlights would make a fragile pipeline look more stable. Preserve full-precision values for comparisons and store presentation rounding separately. The supplied summary lacks several of these inputs, so the tables are benchmark results rather than a standalone numerical reproducer.

Native validation should render the same coupons with pinned engine settings, sample consistent interior regions, and report the resulting measurements separately from the CPU model. Fix lighting, material response and capture processing so that differences can be attributed. Record engine builds, GPU and driver, output format, exposure behaviour and transform configuration. Compare native measurements with the model using an explicit tolerance; binary64 determinism does not imply bitwise agreement with a GPU pipeline.

Start with Proofloom Labs’ free Reference Calibration Kit and its RC03 four-coupon board to check your own colour pipeline. Use the verified modular catalog to extend the comparison to production assets, retaining the stated scope of each asset’s verification.

Sources

  1. Proofloom Labs, PL-STD-2.5 verified CPU exposure-sweep summary, supplied for this article. Source of all reported model measurements; not independently rerun for this article.
  2. Blender Foundation, Blender 4.5 LTS Manual — Color Management.
  3. Epic Games, UE5.6 — Color Grading and the Filmic Tonemapper.
  4. Epic Games, UE5.6 — Cinematic Rendering Image Quality Settings, Color Output.
  5. International Commission on Illumination, CIE 1976 Lab* colour space.