Uniforms

Uniforms

An add-on for Iris mod that lets you edit certain parameters in real-time

7 423 downloads 39 followers

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).

<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/PCdQVHS-ZzU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

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).

No gallery available for this project.

Version Minecraft Loader Download

Uniforms 1.1.1 (Fabric 1.21.1 - 1.21.8)

1.1.1-1.21.1

1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8
fabric, neoforge
Download

Uniforms 1.1.1 (Fabric 1.20.1)

1.1.1-1.20.1

1.20.1
fabric, forge
Download

Uniforms 1.1.1 (Fabric 1.20.4)

1.1.1-1.20.4

1.20.4
fabric
Download

Uniforms 1.1 (Fabric 1.21.1 - 1.21.8)

1.1-1.21.1

1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8
fabric, neoforge
Download

Uniforms 1.1 (Fabric 1.20.1)

1.1-1.20.1

1.20.1
fabric, forge
Download

Uniforms 1.1 (Fabric 1.20.4)

1.1-1.20.4

1.20.4
fabric
Download

Uniforms 1.0 (Fabric 1.21.1 - 1.21.8)

1.0-1.21.1

1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8
fabric, neoforge
Download

Uniforms 1.0 (Fabric 1.20.1)

1.0-1.20.1

1.20.1
fabric, forge
Download

Uniforms 1.0 (Fabric 1.20.4)

1.0-1.20.4

1.20.4
fabric
Download