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).
How to Install Uniforms (Mod)
Uniforms by mchorse is verified for Fabric, Forge, Neoforge across Minecraft versions 1.20.1, 1.20.4, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6 (latest release: 1.1.1-1.21.1, file size: 24 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.20.4, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6) and platform (Fabric, Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
- Move the downloaded Uniforms file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add VersionI tested only on Fabric (Sodium + Iris) 1.21.1, 1.21.4 and 1.21.8 and NeoForge (Sodium + Iris) 1.21.1. NeoForge 1.21.1 with Embeddium + Oculus **doesn't work**!
IMPORTANT: works on NeoForge ONLY with Sinytra Connector mods and 1.21.1! The rest of the versions are Fabric **ONLY**.
IMPORTANT: works on Forge ONLY with Sinytra Connector mods!
I tested only on Fabric (Sodium + Iris) 1.21.1, 1.21.4 and 1.21.8 and NeoForge (Sodium + Iris) 1.21.1. NeoForge 1.21.1 with Embeddium + Oculus **doesn't work**!
IMPORTANT: works on NeoForge ONLY with Sinytra Connector mods and 1.21.1! The rest of the versions are Fabric **ONLY**.
IMPORTANT: works on Forge ONLY with Sinytra Connector mods!
I tested only on Fabric (Sodium + Iris) 1.21.1, 1.21.4 and 1.21.8 and NeoForge (Sodium + Iris) 1.21.1. NeoForge 1.21.1 with Embeddium + Oculus **doesn't work**!
IMPORTANT: works on NeoForge ONLY with Sinytra Connector mods and 1.21.1! The rest of the versions are Fabric **ONLY**.
IMPORTANT: works with Forge ONLY with Sinytra Connector mods!