diff options
author | makamys <makamys@outlook.com> | 2021-05-08 22:02:15 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2021-05-08 22:02:15 +0200 |
commit | ddc6bb4731665a70cdbe17f52367c8accb254cd1 (patch) | |
tree | 102125b7079ede696ee22dde35db97898fe8da72 /src | |
parent | 827be36ba244c173bab239ec7fde57ea177b1177 (diff) | |
download | Neodymium-ddc6bb4731665a70cdbe17f52367c8accb254cd1.tar.gz Neodymium-ddc6bb4731665a70cdbe17f52367c8accb254cd1.tar.bz2 Neodymium-ddc6bb4731665a70cdbe17f52367c8accb254cd1.zip |
Disable blending (fixes derpy fancy leaves)
I really should force fast leaves on LOD models
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/makamys/lodmod/renderer/LODRenderer.java | 3 |
1 files changed, 1 insertions, 2 deletions
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); |