Uniforms
by mchorse
Uniforms is a client-side library that lets Iris shader pack parameters be edited in real time, without restarting or reloading the world.
What it does
Uniforms transforms the GLSL code of a shader pack as Iris and Oculus load it, replacing define-based parameters with GLSL uniforms. Because those uniforms are updated from outside the shader pack, values changed through a slider take effect while the game is running. Only the client needs the mod, and the server can run without it.
Not every option can be made editable in real time. Options whose values depend on expressions cannot be changed this way, because the implementation requires constant parameters. Array sizes inside macros, such as those used with define-based elif logic, are also handled through the same transformation. Some shader packs work with the mod and some do not, so results depend on the pack in use.
Sodium and Iris Shaders are optional companions, and the dependency on Fabric API applies only to Fabric installs. Files are published for Fabric, Forge and NeoForge across 10 release versions, 1.20.1 – 1.21.8, under the MIT License, and the source code is public.
Key features
Real-time parameter editing
Shader pack options marked as define-based parameters can be changed with a slider while the game runs, and the new value applies at once.
GLSL code transformation
Define-based parameters in the loaded shader code are replaced with GLSL uniforms, which allows them to be updated from outside the pack.
Array sizes within macros
Array sizes defined inside macros, including those used with elif logic, are supported by the transformation.
Iris and Oculus support
The transformation runs as Iris or Oculus loads a shader pack, so the mod depends on those shader loaders rather than on any single pack.
Compatibility
Latest build for each game version and loader.
1.21.x8 of 8 versions with builds
1.20.x2 of 2 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Optional 2
How it compares
BBS Addon Engine is open source under the MIT License and runs as client and server across Fabric, Forge and NeoForge for 1.20.1 – 1.21.1. Uniforms is client-side only and open source under the MIT License, with a wider range of 1.20.1 – 1.21.8. Shaderite is a NeoForge mod for 1.21 – 1.21.1 that requires the client and leaves the server optional, and it is open source under the MIT License.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Uniforms | Fabric, Forge and NeoForge | 1.20.1 – 1.21.8 | Client-side only | 2025-09-19 |
| BBS Addon Engine | Fabric, Forge and NeoForge | 1.20.1 – 1.21.1 | Client and server | 2026-07-28 |
| Shaderite | NeoForge | 1.21 – 1.21.1 | Client required, server optional | 2026-03-02 |
Questions
Does Uniforms need Fabric API?
Which Iris release is needed?
Does Uniforms have to be installed on the server?
Why can some shader options not be edited in real time?
In the catalog
Uniforms is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 17,695 mods support Minecraft 1.21.8.
More from mchorse
Similar mods
What the author says
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…
Official listing
- Modrinth page
- modrinth.com/mod/iris-uniforms
- Owner
- mchorse
- Published
- 2025-09-10
- Updated on Modrinth
- 2025-09-19
- Facts verified
- 2026-10-15
