Skip to content

Hitman Absolution: Add Luma mod - #284

Open
OSTADJ2F wants to merge 3 commits into
Filoppi:mainfrom
OSTADJ2F:hitman-absolution-pr
Open

OSTADJ2F wants to merge 3 commits into
Filoppi:mainfrom
OSTADJ2F:hitman-absolution-pr

Conversation

@OSTADJ2F

@OSTADJ2F OSTADJ2F commented Nov 26, 2026 •

Copy link
Copy Markdown

Luma mod for Hitman Absolution (32-bit DX11, Win32 build).

  • Native HDR: both tonemap variants (0x46C50FC2, and 0xEED9AC77 used in Chinatown and the desert levels) are replaced. The scene is compressed into the range of the game's grading LUT, graded with that LUT, and upgraded back to HDR (UpgradeToneMap), with the vanilla hue and chroma restored. Display mapping is a BT.2390 EETF from the metered scene highlight to the display peak, with optional gamut expansion into BT.2020.
  • Auto exposure: a GPU luminance histogram replaces the game's exposure metering. The vanilla exposure is still selectable.
  • Bloom and lens flares: Luma bloom on the HDR scene, and a port of Froyok's Pretty Post Process lens flares (ghosts, halo, dual Kawase blur, optional glare). BSD-3-Clause-Clear, licence in Shaders/Hitman Absolution/LICENSE_PrettyPostProcess.txt.
  • AO: XeGTAO or GT-VBAO at full resolution replaces the game's half-resolution SSAO.
  • AA: SMAA replaces the game's FXAA. With MSAA on, a tonemapped resolve replaces the hardware resolve.
  • Upgraded render targets: the fp16 G-buffer is clamped once after the fill, and the deferred light, reflection, fog, smoke, bloom and pause-menu shaders are guarded against the negative and NaN values that the original 8-bit targets hid.
  • Extras: sky debanding, depth-aware bokeh depth of field, AutoHDR for videos, grading controls (exposure, contrast, saturation, highlights, shadows, vignette, film grain).
  • Window: the game must run in its windowed mode. The mod sizes it to a borderless monitor-sized window and sets prevent_fullscreen_state = false, because blocking the exclusive fullscreen switch crashes the game's CRT, and exclusive fullscreen with the flip model freezes the image.
  • Pause hotkey: an optional Pause key freezes the simulation through the game's own pause flag. The flag is found by signature and only written when the executable matches the one it was verified on (GOG 1.0.447.0); on any other build the hotkey stays off.

Only the project and its Luma.sln entry are added (Win32 configurations only).

@OSTADJ2F
OSTADJ2F marked this pull request as ready for review November 26, 2026 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant