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

Add Support for Dying Light #29

Merged
merged 1 commit into from
Aug 25, 2024
Merged

Conversation

mqhaji
Copy link
Contributor

@mqhaji mqhaji commented Aug 25, 2024

Pull Request: HDR Implementation and Enhancements for Dying Light

Summary

This pull request introduces HDR support to Dying Light, which previously did not support HDR. Key enhancements include upgrading render targets, upgrading the swapchain, and adding various tonemapping and color grading options to provide a more immersive and visually appealing experience.

Key Changes

  1. HDR Support:

    • Upgraded clamped render targets to RGBA16 format to accommodate HDR data.
    • Upgraded the swapchain to scRGB, enabling full HDR10 output and better color accuracy.
  2. Tonemapping Options:

    • Added three distinct tonemapping options:
      • Vanilla: Retains the original SDR tonemapping.
      • None: Disables tonemapping and LUT entirely, allowing for a raw HDR output.
      • Vanilla+ (DICE): Blends the original Vanilla tonemapping with DICE tonemapping, offering a balanced HDR experience that respects the original art direction.
  3. Adjustable Sliders:

    • Game and UI Brightness: Separate sliders for game and UI brightness control.
    • Gamma Correction: Allows users to linearize with SRGB or 2.2 gamma formula.
    • Hue Correction: Allow DICE to emulate the hues of the Vanilla tonemapper.
    • Color Grading Sliders:
      • Exposure
      • Highlights
      • Shadows
      • Contrast
      • Saturation
      • LUT Strength
    • Effects Strength Sliders:
      • Bloom
      • Lens Flare
      • Film Grain

Notes

This HDR mod has been extensively tested across various areas of the game, with zero issues encountered during several hours of gameplay. The enhancements offer a significantly improved visual experience, leveraging the full potential of HDR while providing users with customizable settings to suit their preferences.

@clshortfuse clshortfuse merged commit 17c5105 into clshortfuse:main Aug 25, 2024
2 of 3 checks passed
@mqhaji mqhaji deleted the dyinglight branch August 28, 2024 23:40
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