HomeJavaModsUniforms
Uniforms
ModsJava

Uniforms

by mchorse · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.1–1.21.8 · Fabric⬇ Download for 1.20.4 · Fabric⬇ Download for 1.20.1 · Fabric⬇ Download for 1.21.1–1.21.8 · NeoForge⬇ Download for 1.20.1 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Uniforms is a simple add-on for Iris mod, which allows you editing certain options in real-time. It's available for Fabric 1.20.4, 1.20.1 and 1.21.1 through 1.21.8 (works on Forge 1.20.1 with Sinytra Connector and Oculus, and NeoForge 1.21.1 with Sinytra Connector and Iris).

Note: while editing parameters, you have to release the slider for the value to change.

Note: this mod works only with Iris 1.7 or above!

IMPORTANT: some shader packs may not work. This mod is INCOMPATIBLE with BBS mod (BBS mod has its own implementation, so you don't need it anyways).

How?

This mod transforms GLSL code loaded by Iris/Oculus and replaces #define based parameters with GLSL uniforms that can be updated from outside of the shader pack.

Due to the nature of implementation, some options just can't be turned editable in real-time (the ones used in expressions that require constant parameters, i.e. array sizes, and within macros like other #define, #if and #elif).

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more