Langue

Shaders + HDR

Shaders + HDR

CurseForge

Enable native HDR in Minecraft with Iris shaders

16.7k téléchargements rrtt217
dernière v[NeoForge 1.21.1] v2.3.3-1.21.1 CurseForge
Neoforge Fabric Forge Miscellaneous

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

Versions

Release
[NeoForge 1.21.1] v2.3.3-1.21.1
neoforge · 1.21.1 · 13d ago
52
Release
[Fabric 1.21.1] v2.3.3-1.21.1
fabric · 1.21.1 · 13d ago
Release
[NeoForge 1.21.10] v2.3.3-1.21.10
neoforge · 1.21.10 · 13d ago
Release
[Fabric 1.21.10] v2.3.3-1.21.10
fabric · 1.21.10 · 13d ago
Release
[NeoForge 1.21.11] v2.3.3-1.21.11
neoforge · 1.21.11 · 13d ago
3
Release
[Fabric 1.21.11] v2.3.3-1.21.11
fabric · 1.21.11 · 13d ago
Release
[NeoForge 26.1.2] v2.4.0-26.1
neoforge · 26.1.2 · 13d ago
3
Release
[Fabric 26.1.2] v2.4.0-26.1
fabric · 26.1.2 · 13d ago
Release
hdr_mod 3.1.0-26.2
neoforge · 26.2 · 13d ago
Release
hdr_mod 3.1.0-26.2
fabric · 26.2 · 13d ago
Release
hdr_mod 3.0.0-26.2
neoforge · 26.2 · 16d ago
24
Release
hdr_mod 3.0.0-26.2
fabric · 26.2 · 16d ago

Commentaires 0

Aucun commentaire pour l'instant. Sois le premier à donner ton avis.

FAQ

Comment installer Shaders + HDR ?

Téléchargez le fichier pour votre version de Minecraft et votre loader sur cette page, puis placez le .jar dans le dossier mods (ou plugins) et lancez le jeu.

Shaders + HDR est-il gratuit ?

Shaders + HDR est gratuit sur Modgrid — nous renvoyons directement vers la source officielle, sans paywall.

Quelles versions de Minecraft Shaders + HDR prend-il en charge ?

Compatible avec Neoforge, Fabric, Forge. La liste des versions et loaders pris en charge est dans la section de téléchargement de cette page.

Télécharger Shaders + HDR

R [NeoForge 1.21.1] v2.3.3-1.21.1 1.21.1 neoforge 1003 KB R [Fabric 1.21.1] v2.3.3-1.21.1 1.21.1 fabric 1010 KB R [NeoForge 1.21.10] v2.3.3-1.21.10 1.21.10 neoforge 1009 KB R [Fabric 1.21.10] v2.3.3-1.21.10 1.21.10 fabric 1016 KB R [NeoForge 1.21.11] v2.3.3-1.21.11 1.21.11 neoforge 1009 KB R [Fabric 1.21.11] v2.3.3-1.21.11 1.21.11 fabric 1016 KB R [NeoForge 26.1.2] v2.4.0-26.1 26.1.2 neoforge 1002 KB R [Fabric 26.1.2] v2.4.0-26.1 26.1.2 fabric 1008 KB R hdr_mod 3.1.0-26.2 26.2 neoforge 1019 KB R hdr_mod 3.1.0-26.2 26.2 fabric 1.0 MB R hdr_mod 3.0.0-26.2 26.2 neoforge 993 KB R hdr_mod 3.0.0-26.2 26.2 fabric 999 KB B [NeoForge 26.2] v3.0.0-beta1-26.2 26.2 neoforge 994 KB B [Fabric 26.2] v3.0.0-beta1-26.2 26.2 fabric 1000 KB A [NeoForge 26.2] v3.0.0-alpha2-26.2 26.2 neoforge 984 KB A [Fabric 26.2] v3.0.0-alpha2-26.2 26.2 fabric 990 KB A [Fabric 26.2] v3.0.0-alpha1-26.2 26.2 fabric 982 KB A [NeoForge 26.2] v3.0.0-alpha1-26.2 26.2 neoforge 976 KB R [Fabric 1.21.1] v2.3.2-1.21.1 1.21.1 fabric 1008 KB R [NeoForge 1.21.1] v2.3.2-1.21.1 1.21.1 neoforge 1001 KB R [Fabric 1.20.1] v2.3.2-1.20.1 1.20.1 fabric 1007 KB R [Forge 1.20.1] v2.3.2-1.20.1 1.20.1 forge 1.0 MB R [NeoForge 1.21.10] v2.3.2-1.21.10 1.21.10 neoforge 1002 KB R [Fabric 1.21.10] v2.3.2-1.21.10 1.21.10 fabric 1014 KB R [NeoForge 26.1.2] v2.3.2-26.1 26.1, 26.1.1, 26.1.2 neoforge 973 KB R [Fabric 26.1.2] v2.3.2-26.1 26.1, 26.1.1, 26.1.2 fabric 984 KB R [NeoForge 1.21.11] v2.3.2-1.21.11 1.21.11 neoforge 1002 KB R [Fabric 1.21.11] v2.3.2-1.21.11 1.21.11 fabric 1014 KB R [Fabric 1.20.1] v2.3.1-1.20.1 1.20.1 fabric 1003 KB R [Forge 1.20.1] v2.3.1-1.20.1 1.20.1 forge 1.0 MB R [NeoForge 1.21.1] v2.3.1-1.21.1 1.21.1 neoforge 998 KB R [Fabric 1.21.1] v2.3.1-1.21.1 1.21.1 fabric 1005 KB R [Fabric 1.21.11] v2.3.1-1.21.11 1.21.11 fabric 1012 KB R [NeoForge 1.21.11] v2.3.1-1.21.11 1.21.11 neoforge 999 KB R [Fabric 1.21.10] v2.3.1-1.21.10 1.21.10 fabric 1012 KB R [NeoForge 1.21.10] v2.3.1-1.21.10 1.21.10 neoforge 999 KB R [NeoForge 26.1.2] v2.3.1-26.1 26.1, 26.1.1, 26.1.2 neoforge 970 KB R [Fabric 26.1.2] v2.3.1-26.1 26.1, 26.1.1, 26.1.2 fabric 981 KB R [NeoForge 1.21.10] v2.3.0-1.21.10 1.21.10 neoforge 999 KB R [Fabric 1.21.10] v2.3.0-1.21.10 1.21.10 fabric 1012 KB R [Fabric 1.20.1] v2.3.0-1.20.1 1.20.1 fabric 1003 KB R [Forge 1.20.1] v2.3.0-1.20.1 1.20.1 forge 1.0 MB R [NeoForge 1.21.1] v2.3.0-1.21.1 1.21.1 neoforge 998 KB R [Fabric 1.21.1] v2.3.0-1.21.1 1.21.1 fabric 1005 KB R [NeoForge 1.21.11] v2.3.0-1.21.11 1.21.11 neoforge 999 KB R [Fabric 1.21.11] v2.3.0-1.21.11 1.21.11 fabric 1012 KB R [NeoForge 26.1.2] v2.3.0-26.1 26.1, 26.1.1, 26.1.2 neoforge 970 KB R [Fabric 26.1.2] v2.3.0-26.1 26.1, 26.1.1, 26.1.2 fabric 981 KB R [NeoForge 26.1.2] v2.2.2-26.1 26.1, 26.1.1, 26.1.2 neoforge 963 KB R [Fabric 26.1.2] v2.2.2-26.1 26.1, 26.1.1, 26.1.2 fabric 974 KB

Les fichiers proviennent directement de la source d'origine. Modgrid ne les héberge ni ne les modifie.