About this mod
Rewrite of the graphics pipeline to fix errors in handling of HDR gamma, LUT sampling, and tonemapping, without compromising the original artistic vision.
- Permissions and credits
This mod utilizes the ReShade Add-on system to streamline updates and avoid direct game file modifications. The source code is available on GitHub for those interested in seeing the inner workings or contributing to future improvements.
Original HDR Issues:
- Broken Tonemapping: The default tonemapping doesn't account for user brightness causing over/undershooting of peak whites depending on how high the paper white slider (2nd slider in calibration menu) is set
- Poor LUT Sampling: The game uses sRGB LUTs that only accept an SDR input. In order to get this working in HDR, the developers created a piecewise function that crams all the highlights back into SDR range and then multiplies them back out afterwards. This causes a loss of detail in highlights and broken gradients.
- Gamma/Contrast Boosts: The developers added a gamma/contrast boost to the image that is not present in SDR. This boost was seemingly an incorrect attempt at fixing broken gamma in HDR as they used sRGB gamma in SDR but likely calibrated the game on standard 2.2 gamma displays. The SDR calibration menu also seems to imply a 2.2 gamma display is expected
- Refined Tonemapping: Implements a Vanilla+ tonemapper that corrects peak white levels and removes unnecessary contrast/gamma boosts.
- Enhanced HDR LUT Sampling: Highlights are now first tonemapped down properly to SDR, and a new function is used to calculate the change in color from the LUTs, which is then applied to the original HDR color. Gradients are now fixed, colors are now more vibrant, and incorrect hue shifts are now eliminated.
- True to Source Visuals: sRGB -> 2.2 gamma correction has now been applied to the image, matching how the developers likely intended for the game to look.
- Install ReShade 6.3.3 or higher with addon support. No ReShade effects are required.
- Copy the .addon64 into the Resident Evil Village installation folder next to the game exe.
- Run the game and access the ReShade UI with <Home>, check the addons tab to see if the mod is enabled.
Join the discussion and find more mods at the #renodx channel in the HDR Den Discord.
Credits