Filmic
UchimuraI built a Uchimura tonemapper plugin that integrates with Unreal’s post-process settings. It supports post-process components and persistent preview profiles, lives in the project, and leaves the installed engine unchanged.
The goal was to keep the colour in our stylised characters while retaining highlight compression. I first tried adjusting Unreal’s Tone Curve Amount, but it didn’t give the characters the look I wanted. I then tried matching Uchimura’s grayscale response using Unreal’s Film controls, but that didn’t work either.

Replacing the tonemapper
The plugin replaces the film transform at Unreal’s tonemapping stage, reusing engine shaders around it. A C++ adapter supplies the exposure, grading and output resources the replacement needs.
You can switch back to the existing rendering path. Unsupported configurations keep that path in control, with warnings explaining the blocker.
Renderer integration and colour space
A view extension uses SubscribeToPostProcessingPass to register at EPostProcessingPass::ReplacingTonemapper. The LUT wrapper substitutes FilmToneMap, then includes Unreal’s native combine-LUT shader. The final shader classes compile the native tonemap entry points.
The installed engine’s C++ pass helpers are private and unexported. The adapter reconstructs their bindings, including a 32³ LUT with native five-slot blending, eye-adaptation resources, output geometry, alpha handling, raster/compute selection and supported compositor state. Replacement suppresses native LUT generation, so the callback cannot assume that LUT already exists.
The curve and colour contract
The reference is Hajime Uchimura’s 2017 GT / GT Sport curve. This implementation uses that curve within Unreal’s pipeline; it does not reproduce Gran Turismo’s complete image pipeline.
The wrapper converts AP1/D60 input to linear Rec.2020/D65, evaluates RGB channels independently, then converts back to AP1. Its fixed normalised SDR parameters are:
P=1, a=1, m=0.22, l=0.4, c=1.33, b=0
The complete native FilmToneMap block is replaced, including its internal glow, red modification and desaturation. Surrounding blue correction and gamut expansion remain. Native grading, exposure and Tone Curve Amount remain inputs; Tone Curve Amount zero is supported. Filmic slope, toe and shoulder controls do not become Uchimura parameters.
Editor integration
Uchimura appears as an additional Film Method choice. The selection belongs to its post-process owner and follows the existing blending order.
Selecting it saves seven compatibility values and their override flags, applies the required settings, and protects those fields. Choosing another Film Method restores the saved state.
Both values and overrides matter: an unchecked override can let an incompatible inherited setting take precedence.

Settings, overrides and switching back
The editor supplies a virtual Film Method choice without changing the engine enum. Internally, it stores Filmic plus an owner-local UUchimuraPostProcessProfile in FWeightedBlendables. Later post-process owners retain their precedence.
| Managed setting | Required value |
|---|---|
| Film method | Filmic |
| Bloom method | Gaussian |
| Local exposure: highlight, shadow and detail | 1 for each |
| Highlight and shadow contrast curves | None for each |
All seven override flags are enabled. Selecting a different Film Method restores that owner’s snapshot before applying the chosen native method. Unrelated settings and blendables retain their authored values.
Temporary console overrides are separate. Automatic mode follows saved selections. Explicit modes can leave rendering with its existing owner, run NativeCopy, or run Uchimura without rewriting the saved choice. Changing the dropdown returns the session to automatic selection.
Selections also need to survive Blueprint inheritance, undo, saving and reopening. Preview profiles required companion data because their normal save could retain a temporary object reference without its contents.
Blueprint and preview persistence
Saved identities distinguish inherited Blueprint selections from explicit choices. Inherited copies keep their revision; explicit selections receive a new identity, including same-value selections. Reset resumes inheritance. Ownership normalisation and transaction repairs cover compile, save and undo paths.
Asset Viewer settings hold preview profiles as value structs on a singleton. Their INI export could save an ephemeral marker path without the marker’s payload. Companion sections now accompany the same native shared or local save.
Restoration validates scope, ordinal, name, the row fingerprint and marker slots. The payload includes selection identity, enabled state and the restoration snapshot. Copies receive independent objects, and unsaved choices remain unsaved.
Lost legacy preview payload cannot be reconstructed. Affected old preview profiles need one reselection and save.
Testing and validation
I’ve used the plugin in production. In earlier tests, I ran Unreal’s native Filmic transform through the adapter in NativeCopy mode to separate integration errors from Uchimura’s intended visual change.
Hue and exposure comparison
I rendered the same HDR hue/exposure chart in Unreal with both tone mappers.
Default Unreal
UchimuraTest results, methods and dates
Recorded results — 12–13 October 2026. The first two checks compare NativeCopy with stock Unreal. NativeCopy runs Unreal’s Filmic transform through the plugin adapter to check its resources and bindings.
| Check | Recorded result |
|---|---|
| Four controlled palette fixtures | NativeCopy maximum/RMS RGB error 0. |
| Restricted ThirdPerson — 20 cases per raster/compute mode | Maximum RGB error 0.00048828125; RMS below 4e-6; alpha error 0. |
| Curve validation | 2,049-point sweep; GPU reference error approximately 4.709e-8. |
Declared gates were maximum RGB error 0.001, RGB RMS error 0.0001 and maximum alpha error 0.001. Empty HDR input fixtures were rejected, and the tolerances were not widened to obtain passes.
These results establish bounded configurations. Callback counters verify that replacement actually executed. A fallback pass does not count as Uchimura support.
The alpha failure came from writing RGBA where native rendering wrote RGB. Matching native write masks and alpha handling fixed it.
For temporal scenes, an Editor diagnostic compares stock, NativeCopy and Uchimura using the same frame’s input and resources. This controls changing exposure and history. Ordinary Uchimura mode does not render three complete outputs in parallel.
In earlier packaged Development and Shipping runs, I tested switching, convergence and grain over thousands of steady frames. Those results describe behaviour in the tested builds, but don’t establish pixel-exact temporal equivalence. I also ran separate tests for Blueprint and preview serialization.
Supported scope
Uchimura tone mapping runs on supported PC mono views using SDR sRGB output, including on HDR-capable monitors. HDR output, stereo/XR, active local exposure and convolution bloom use Unreal’s existing renderer.





