Back to mods
Shaders + HDR project artwork

CurseForge · Minecraft mod

Shaders + HDR

Enable native HDR in Minecraft with Iris shaders

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Shaders + HDR release should I use?

Updated 3 days ago
Latest stable file [Fabric 1.20.1] v2.5.0-1.20.1
Game version 1.20.1
Loader Fabric

Shaders + HDR [Fabric 1.20.1] v2.5.0-1.20.1 targets 1.20.1 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. All 3 required mods have matching files.

Where it goes

Is Shaders + HDR required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Shaders + HDR [Fabric 1.20.1] v2.5.0-1.20.1 need?

[Fabric 1.20.1] v2.5.0-1.20.1. Change the file and its required mods may change too.

All 3 required mods have matching files

Install Architectury API, Cloth Config API (Fabric/Forge/NeoForge), Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

3 listed on this file 1 pulled in by one of those mods
Iris Shaders Optional for Shaders + HDR [Fabric 1.20.1] v2.5.0-1.20.1
optional
Matching file found Matched file: Iris 1.7.6 for Minecraft 1.20.1
Architectury API Needed by Shaders + HDR [Fabric 1.20.1] v2.5.0-1.20.1
required
Matching file found Matched file: [Fabric 1.20(.1)] v9.2.14
Fabric API Needed by Architectury API
pulled in
Matching file found Matched file: [1.20.1] Fabric API 0.92.11+1.20.1

1 extra mod was pulled in by another dependency. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Shaders + HDR without breaking your instance.

Built for Shaders + HDR [Fabric 1.20.1] v2.5.0-1.20.1. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use [Fabric 1.20.1] v2.5.0-1.20.1. It targets 1.20.1 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Architectury API, Cloth Config API (Fabric/Forge/NeoForge), Fabric API first. We found matching files for this game-version and loader setup. 1 comes through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside [Fabric 1.20.1] v2.5.0-1.20.1. It opens that exact file at the source.

About this project

What does Shaders + HDR add?

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)
  • Near full Wayland IME fix (need latest IMBlocker).

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

Project description from CurseForge.

Pick your setup

Shaders + HDR by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

16 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Shaders + HDR versions and loaders

50 of 50 releases match

Looking for an older file? The official CurseForge project page is in Resources.