This commit is contained in:
mcrcortex
2025-12-23 10:37:12 +10:00
parent 79890fde1e
commit 263f93215a
3 changed files with 4 additions and 2 deletions

View File

@@ -120,10 +120,10 @@ dependencies {
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
if (true) {
if (false) {
modImplementation "maven.modrinth:sodium:mc1.21.11-0.8.1-fabric"
} else {
modImplementation "net.caffeinemc:sodium-fabric:0.8.1-SNAPSHOT+mc1.21.11+"
modImplementation "net.caffeinemc:sodium-fabric:0.8.2-SNAPSHOT+mc1.21.11+"
}
modImplementation("maven.modrinth:lithium:mc1.21.11-0.21.0-fabric")

View File

@@ -169,6 +169,7 @@ public class MDICSectionRenderer extends AbstractSectionRenderer<MDICViewport, B
glDisable(GL_CULL_FACE);
glDisable(GL_BLEND);
glEnable(GL_DEPTH_TEST);
this.terrainShader.bind();
glBindVertexArray(GlVertexArray.STATIC_VAO);//Needs to be before binding

View File

@@ -165,6 +165,7 @@ void main() {
//Also, small quad is really fking over the mipping level somehow
#ifndef TRANSLUCENT
colour.a = 1.0f;
if (useDiscard() && (textureLod(blockModelAtlas, texPos, 0).a <= 0.1f)) {
//if (useDiscard() && (colour.a <= 0.1f)) {
#else