Disable hardcoded custom uniforms by default

This commit is contained in:
Darren Eberly authored and Jason Mitchell committed 2025-11-05 12:25:18 -08:00
1 parent 78334717e7
commit 4c0f2f2685
2 files changed
+10 -1

No files matched your search

@@ -1,5 +1,6 @@
package net.coderbot.iris.uniforms;
import com.gtnewhorizons.angelica.config.AngelicaConfig;
import com.gtnewhorizons.angelica.glsm.GLStateManager;
import com.gtnewhorizons.angelica.glsm.states.BlendState;
import com.gtnewhorizons.angelica.glsm.texture.TextureInfo;
@@ -53,7 +54,11 @@ public final class CommonUniforms {
IrisExclusiveUniforms.addIrisExclusiveUniforms(uniforms);
IdMapUniforms.addIdMapUniforms(updateNotifier, uniforms, idMap, directives.isOldHandLight());
MatrixUniforms.addMatrixUniforms(uniforms, directives);
HardcodedCustomUniforms.addHardcodedCustomUniforms(uniforms, updateNotifier);
if (AngelicaConfig.enableHardcodedCustomUniforms) {
HardcodedCustomUniforms.addHardcodedCustomUniforms(uniforms, updateNotifier);
}
CommonUniforms.generalCommonUniforms(uniforms, updateNotifier, directives);
}