Перейти к содержимому
Mineforgian

rrtt217's HDR Mod

Enables native HDR in Minecraft with Iris shaders.

Загрузки
15K
Подписчики
74
Обновлён
3 июля 2026 г.
Лицензия
MIT

Опубликован 13 февраля 2026 г.

Исходный кодСообщить об ошибке

Minecraft HDR Mod

CurseForge Downloads Modrinth Downloads

Versions Versions

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

What the mod have achieved

  • Native HDR, both for scRGB and HDR10/PQ.
  • UI color correction by a new render pass.
  • Ingame config using Cloth Config API.
  • Ingame HDR screenshot.
  • Replay Mod HDR Video Export (need custom FFmpeg commandline, which can be found in config menu)
  • Full Wayland IME fix (need IMBlocker).

For Users

[!IMPORTANT] Requires modded shaderpacks! https://github.com/rrtt217/Minecraft-HDR-Mod/wiki/HDR-Shaderpacks

  • 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
    • 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.

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.

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

Ченджлог

3.0.0-beta1-26.2+neoforgeБета26.2 · 3 июля 2026 г.

HDR Mod v3.0.0-beta1 Changelog

Bugs Fixed In Alpha2

  • Broken Vanilla Screenshot
  • Potential crash if a RenderPipeline is used in more than two format combinations

New Features

  • Basic Vulkan Support

Missing Features

  • ReplayMod Support (There's no ReplayMod yet for 26.2)

Warning

  • Iris hasn't uploaded NeoForge version to Modrinth, compatibility is not guaranteed.
  • This is an beta version. Here be dragons!
3.0.0-beta1-26.2+fabricБета26.2 · 3 июля 2026 г.

HDR Mod v3.0.0-beta1 Changelog

Bugs Fixed In Alpha2

  • Broken Vanilla Screenshot
  • Potential crash if a RenderPipeline is used in more than two format combinations

New Features

  • Basic Vulkan Support

Missing Features

  • ReplayMod Support (There's no ReplayMod yet for 26.2)

Warning

  • Iris hasn't uploaded NeoForge version to Modrinth, compatibility is not guaranteed.
  • This is an beta version. Here be dragons!
3.0.0-alpha2-26.2+neoforgeАльфа26.2 · 2 июля 2026 г.

HDR Mod v3.0.0-alpha2 Changelog

Bugs Fixed In Alpha2

  • Crash with Xaero Map
  • Compatibility with many other mods

Changes

  • HDR Mod now automatically recreates RenderPipeline against current format if the original RenderPipeline do not match the format of current color attachments.

Missing Features

  • Vulkan Support (Iris also do not support Vulkan so we do not implement it yet)
  • ReplayMod Support (There's no ReplayMod yet for 26.2)

Warning

  • Iris hasn't uploaded NeoForge version to Modrinth, compatibility is not guaranteed.
  • This is an alpha version. Here be dragons!
3.0.0-alpha2-26.2+fabricАльфа26.2 · 2 июля 2026 г.

HDR Mod v3.0.0-alpha2 Changelog

Bugs Fixed In Alpha2

  • Crash with Xaero Map
  • Compatibility with many other mods

Changes

  • HDR Mod now automatically recreates RenderPipeline against current format if the original RenderPipeline do not match the format of current color attachments.

Missing Features

  • Vulkan Support (Iris also do not support Vulkan so we do not implement it yet)
  • ReplayMod Support (There's no ReplayMod yet for 26.2)

Warning

  • Iris hasn't uploaded NeoForge version to Modrinth, compatibility is not guaranteed.
  • This is an alpha version. Here be dragons!
3.0.0-alpha1-26.2+fabricАльфа26.2 · 30 июня 2026 г.

HDR Mod v3.0.0-alpha1 Changelog

New Features

  • Port to 26.2

Missing Features

  • Vulkan Support (Iris also do not support Vulkan so we do not implement it yet)
  • ReplayMod Support (There's no ReplayMod yet for 26.2)

Warning

  • Due to Mojang's huge refactor to rendering in 26.2, HDR Mod may be less compatible with other mods.
  • There's no Iris for NeoForge on 26.2 yet, so NeoForge compatibility cannot be ensured.
  • This is an alpha version. Here be dragons!
3.0.0-alpha1-26.2+neoforgeАльфа26.2 · 30 июня 2026 г.

HDR Mod v3.0.0-alpha1 Changelog

New Features

  • Port to 26.2

Missing Features

  • Vulkan Support (Iris also do not support Vulkan so we do not implement it yet)
  • ReplayMod Support (There's no ReplayMod yet for 26.2)

Warning

  • Due to Mojang's huge refactor to rendering in 26.2, HDR Mod may be less compatible with other mods.
  • There's no Iris for NeoForge on 26.2 yet, so NeoForge compatibility cannot be ensured.
  • This is an alpha version. Here be dragons!
2.3.2-1.21.1+fabricРелиз1.21.1 · 16 июня 2026 г.

HDR Mod v2.3.2 Changelog

New Features

  • Keybind to toggle HDR ingame (default unbind)
  • Screenshot can use PNG3 cICP instead of iCCP(aka. ICC profile)

Fixes

  • Fixed virtual display card breaking workaround apply condition
2.3.2-1.21.1+neoforgeРелиз1.21.1 · 16 июня 2026 г.

HDR Mod v2.3.2 Changelog

New Features

  • Keybind to toggle HDR ingame (default unbind)
  • Screenshot can use PNG3 cICP instead of iCCP(aka. ICC profile)

Fixes

  • Fixed virtual display card breaking workaround apply condition

Комментарии

Загружаем…