diff options
author | FalsePattern <me@falsepattern.com> | 2023-11-27 14:07:21 +0100 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2023-12-01 13:13:38 +0100 |
commit | 6dc520d17d6bc920a4b87e7536678bc11e32b0cd (patch) | |
tree | 2b9c6906832a023d7086a290f494f8cfeb2b3e41 /src/main/java/makamys/neodymium/renderer/NeoRenderer.java | |
parent | b8e4d51f6966d7c74d1d5d8a504ed4200f29a2e2 (diff) | |
download | Neodymium-6dc520d17d6bc920a4b87e7536678bc11e32b0cd.tar.gz Neodymium-6dc520d17d6bc920a4b87e7536678bc11e32b0cd.tar.bz2 Neodymium-6dc520d17d6bc920a4b87e7536678bc11e32b0cd.zip |
Removed the SimplifyMeshes feature
Diffstat (limited to 'src/main/java/makamys/neodymium/renderer/NeoRenderer.java')
-rw-r--r-- | src/main/java/makamys/neodymium/renderer/NeoRenderer.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java index b3564ff..1aa83b6 100644 --- a/src/main/java/makamys/neodymium/renderer/NeoRenderer.java +++ b/src/main/java/makamys/neodymium/renderer/NeoRenderer.java @@ -396,17 +396,11 @@ public class NeoRenderer { int uvEnd = Config.shortUV ? 4 * 4 : 5 * 4; glVertexAttribPointer(2, 2, GL_SHORT, false, stride, uvEnd); glVertexAttribPointer(3, 4, GL_UNSIGNED_BYTE, false, stride, uvEnd + 1 * 4); - if(Config.simplifyChunkMeshes) { - glVertexAttribPointer(4, 4, GL_UNSIGNED_BYTE, false, stride, uvEnd + 2 * 4); - } glEnableVertexAttribArray(0); glEnableVertexAttribArray(1); glEnableVertexAttribArray(2); glEnableVertexAttribArray(3); - if(Config.simplifyChunkMeshes) { - glEnableVertexAttribArray(4); - } for(int i = 0; i < 2; i++) { piFirst[i] = BufferUtils.createIntBuffer(MAX_MESHES); @@ -427,9 +421,6 @@ public class NeoRenderer { if(hasFog == 1) { defines.add("RENDER_FOG"); } - if(Config.simplifyChunkMeshes) { - defines.add("SIMPLIFY_MESHES"); - } if(Config.shortUV) { defines.add("SHORT_UV"); } |