Package com.hbm_m.client.render.shader
Class IrisDerivedMatrixUniforms
java.lang.Object
com.hbm_m.client.render.shader.IrisDerivedMatrixUniforms
Resolves
ModelViewMat / inverse / normal matrix uniform locations for
Iris ExtendedShader programs with GL type validation.
ExtendedShader uses Mojang names (ModelViewMatInverse,
NormalMat). Some packs also declare iris_ModelViewMat*; a
stale or wrong glGetUniformLocation("iris_ModelViewMatInverse") can
point at a non-matrix uniform and spam
GL_INVALID_OPERATION: Uniform must be a matrix type.
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
resolve
public static IrisDerivedMatrixUniforms.Locations resolve(net.minecraft.client.renderer.ShaderInstance shader)
-