rrtt217's HDR Mod

rrtt217's HDR Mod

Enables native HDR in Minecraft with Iris shaders.

by
11.2K Downloads
fabricforgeneoforgecursed
Rent Server with this Mod

Screenshots

8bit SDR vs 16bit HDR Ingame Screenshot after +7EV
Ingame Config Screen
Zephyr starlight(personal edit) w/ HDR Mod

About this Mod

Minecraft HDR Mod

A minecraft mod that enables native HDR on Windows/Linux with Iris shaders. Currently, in early development.
PhotonHDRPic
(Photon patched to HDR w/ Patrix, taken by mod's screenshot feature.)

What the mod have achieved

  • Native HDR, both for Windows scRGB and HDR10/PQ.
  • UI color correction by a BEFORE_BLIT pass.
  • Ingame config using Cloth Config API.
  • Ingame HDR screenshot.
  • Replay Mod HDR Video Export (only for versions above 1.21.10, need custom FFmpeg commandline, which can be found in config menu)

For Users

  • See XgarhontX's temporary patches for HDR output and tonemapping on select shaderpacks with support for this mod: Google Sheets
    • See some pics here: Wiki
  • Adjust HDR Brightness values (Paper White, UI, Peak) with config menu. (Default keybind: F9)
  • Take a HDR screenshot ingame. (Default keybind: F10)
  • Supported platforms:
    • Windows: Nvidia/AMD GPU generally run flawlessly. Intel GPU is supported since v2.1.0 with a DXGI fallback path and there's performance degradation (more info in v2.1.0 release note).
    • Linux Wayland: AMD/Intel GPU generally run flawlessly. People using Nvidia GPU may encounter some problems/crashes, see the troubleshooting for a potential workaround.
    • macOS: Supported but need more testing, bugs are expected. Also, shaderpack support on macOS is limited.
    • Android/iOS: Not supported. If Mobile launcher developers are interested in the project, my glfw fork can be a starting point for HDR support in the future.
  • Troubleshooting:
    • ReShade is currently not compatible under default settings, failing to load and breaking sky.
      • Enabling "Force Activate OpenGL-DirectX Interop" in config/advanced can improve compatibility with SpecialK and ReShade. Please make sure they only inject into DirectX 11 layer.
    • Mods also messing with GLFW may be incompatible. (e.g. Ixeris)
    • If your game is too bright/dark, try to adjust the custom brightness values yourself.
    • If you're on Windows, don't forget to install the latest Visual C++ Redistributable.
    • If your game crashes on NeoForge/Forge, disable earlyWindowControl in <game folder>/config/fml.toml. On newer HDR Mod versions the game will crash on first launch, please relaunch the game, we've automatically turned off early window.
    • If HDR is broken when shaders are enabled, please reset "Colorspace" setting in Iris/Oculus to "sRGB".
    • Clean temp file if your game doesn't start or some features are broken (path can be found in log, %TEMP%/glfw on Windows and /tmp/glfw on Linux).
    • For Linux Nvidia users, if your game can't start, or you feel too much banding ingame, here's a potential workaround (using Zink, so performance degradation is expected):
      • Use these environment variables:
        export __GLX_VENDOR_LIBRARY_NAME=mesa
        export __EGL_VENDOR_LIBRARY_FILENAMES=/run/opengl-driver/share/glvnd/egl_vendor.d/50_mesa.json
        export MESA_LOADER_DRIVER_OVERRIDE=zink
        export GALLIUM_DRIVER=zink
        
      • ONLY WORKS ON Mesa >= 26.0.0. Lower versions crash your game due to the lack of This PR, So you should probably compile by yourself.

For Shader Packs

Wiki Tutorial

Macros

  • HDR_MOD_INSTALLED
  • HDR_ENABLED

Uniforms

  • float HdrGameMinimumBrightness;
  • float HdrGamePeakBrightness;
  • float HdrGamePaperWhiteBrightness;
  • float HdrUIBrightness;

Use these uniforms inside #if HDR_MOD_INSTALLED block.

Output

the output of the shader(aka. what is written to main render target in final pass) should have scRGB-nl encoding(Rec.709 primaries, sRGB (for negative numbers use −f(−x)) transfer function), and you should not use RGBA8F for scene color.

Known Issue

  • Xaero Map may cause black screen on startup, but recover to normal before you see title screen.

Credits

Copyright

The main HDR Mod repo is licensed under MIT. Bundled GLFW from Tom94's/mine fork is licensed under the zlib/libpng license.

Star History

Star History Chart

Available Versions

[Fabric 1.21.1] v2.3.2-1.21.1release
MC 1.21.1fabric
June 16, 2026
[NeoForge 1.21.1] v2.3.2-1.21.1release
MC 1.21.1neoforge
June 16, 2026
[Fabric 1.20.1] v2.3.2-1.20.1release
MC 1.20.1fabric
June 16, 2026
[Forge 1.20.1] v2.3.2-1.20.1release
MC 1.20.1forge
June 16, 2026
[NeoForge 1.21.10] v2.3.2-1.21.10release
MC 1.21.10neoforge
June 16, 2026

How to Install rrtt217's HDR Mod on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (26.1.2).

3

Install Mod

Open the mod browser in the dashboard and search for "rrtt217's HDR Mod". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforgeneoforge

Minecraft Versions

26.1.2, 26.1.1, 26.1 (+7 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

rrtt217's HDR Mod server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (26.1.2). You can switch loaders with one click in the panel.

Is rrtt217's HDR Mod compatible with fabric and forge and neoforge?

rrtt217's HDR Mod officially supports fabric, forge, neoforge for Minecraft 26.1.2, 26.1.1, 26.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with rrtt217's HDR Mod – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if rrtt217's HDR Mod consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install rrtt217's HDR Mod with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

26.1.226.1.126.11.21.111.21.101.21.91.21.11.211.20.11.20