Support for more than one mapblock/chunk | WARNING: Shitty performance, even on RTX 3070
This commit is contained in:
@@ -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);
|
||||
//}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user