Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDR Enhancements for Shadow of the Tomb Raider #117

Merged
merged 6 commits into from
Jan 24, 2025

Conversation

mqhaji
Copy link
Contributor

@mqhaji mqhaji commented Jan 24, 2025

Summary

This pull request enhances the HDR implementation in Shadow of the Tomb Raider by addressing issues with the vanilla tonemapper. The mod allows users to replace the broken ACES tonemapper, which had a high nit floor and clipped highlight detail, with alternative options for improved HDR performance and customization. It also disables the game's default brightness slider and introduces a custom slider with more precise controls.

Key Changes

  1. Custom Tonemapping Options:

    • Vanilla: Retains the original broken implementation of ACES tonemapper, this includes clipped highlight detail and raised blacks.
    • None: Disables tonemapping entirely, allowing for raw HDR output.
    • RenoDRT: Offers a refined HDR experience with better tone reproduction and customizable hue processing.
    • ACES: Fixed version of ACES.
  2. Brightness and Peak Nits Controls:

    • Replaced the game's default brightness slider with a custom Game Brightness slider, allowing for precise control over diffuse white levels.
    • Added a Peak Brightness slider to set the maximum HDR output in nits.
  3. Hue Processing Options:

    • Added a Hue Processor selector with options including OKLab, ICtCp, and Darktable UCS for tailored hue correction.
    • Introduced a Hue Shift slider to emulate hue-shifting behavior to emulate hue shifts found in per channel tonemapping when RenoDRT is selected.
  4. Color Grading and Tonemapping Sliders:

    • Exposure
    • Highlights
    • Shadows
    • Contrast
    • Saturation
    • Highlight Saturation
    • Blowout
    • Flare
  5. Color Space and Scaling:

    • Added a Working Color Space selector with support for BT709, BT2020, and AP1.
    • Included a Scaling option to choose between luminance-based or per-channel tonemapping when RenoDRT is selected.

Notes

This mod improves the HDR experience for Shadow of the Tomb Raider, offering users a robust set of controls to customize the game's tone and color to their liking. Extensive testing has been conducted to ensure compatibility and stability, resulting in a polished and reliable update for HDR enthusiasts.

@clshortfuse clshortfuse merged commit 92cb297 into clshortfuse:main Jan 24, 2025
3 checks passed
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.

2 participants