aa
This commit is contained in:
@@ -120,10 +120,10 @@ dependencies {
|
|||||||
|
|
||||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
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"
|
modImplementation "maven.modrinth:sodium:mc1.21.11-0.8.1-fabric"
|
||||||
} else {
|
} 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")
|
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_CULL_FACE);
|
||||||
|
glDisable(GL_BLEND);
|
||||||
glEnable(GL_DEPTH_TEST);
|
glEnable(GL_DEPTH_TEST);
|
||||||
this.terrainShader.bind();
|
this.terrainShader.bind();
|
||||||
glBindVertexArray(GlVertexArray.STATIC_VAO);//Needs to be before binding
|
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
|
//Also, small quad is really fking over the mipping level somehow
|
||||||
#ifndef TRANSLUCENT
|
#ifndef TRANSLUCENT
|
||||||
|
colour.a = 1.0f;
|
||||||
if (useDiscard() && (textureLod(blockModelAtlas, texPos, 0).a <= 0.1f)) {
|
if (useDiscard() && (textureLod(blockModelAtlas, texPos, 0).a <= 0.1f)) {
|
||||||
//if (useDiscard() && (colour.a <= 0.1f)) {
|
//if (useDiscard() && (colour.a <= 0.1f)) {
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user