aa
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user