Support for more than one mapblock/chunk | WARNING: Shitty performance, even on RTX 3070

This commit is contained in:
2022-10-29 14:09:42 -04:00
parent 6b05eaf331
commit 8cde72f632
4 changed files with 59 additions and 45 deletions

View File

@@ -54,15 +54,15 @@ class TextureHandler
{
if(nodeManager.getNodeAt(x, y, z) == 1)
{
//if(nodeManager.getNodeAt(x, y, z) == 1)
//{
glBindTexture(GL_TEXTURE_2D, textures);
}
//}
else if(nodeManager.getNodeAt(x, y, z) == 2)
{
glBindTexture(GL_TEXTURE_2D, textures1);
}
//else if(nodeManager.getNodeAt(x, y, z) == 2)
//{
//glBindTexture(GL_TEXTURE_2D, textures1);
//}
}