From ddc6bb4731665a70cdbe17f52367c8accb254cd1 Mon Sep 17 00:00:00 2001 From: makamys Date: Sat, 8 May 2021 22:02:15 +0200 Subject: Disable blending (fixes derpy fancy leaves) I really should force fast leaves on LOD models --- src/main/java/makamys/lodmod/renderer/LODRenderer.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/java/makamys/lodmod/renderer/LODRenderer.java b/src/main/java/makamys/lodmod/renderer/LODRenderer.java index 76882ad..91c0aee 100644 --- a/src/main/java/makamys/lodmod/renderer/LODRenderer.java +++ b/src/main/java/makamys/lodmod/renderer/LODRenderer.java @@ -199,8 +199,7 @@ public class LODRenderer { GL11.glPushAttrib(GL11.GL_ENABLE_BIT); GL11.glDisable(GL11.GL_TEXTURE_2D); - GL11.glEnable(GL11.GL_BLEND); - GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA); + GL11.glDisable(GL11.GL_BLEND); glUseProgram(shaderProgram); -- cgit