sharper textures

pull/12/head
hYdos 2020-02-28 06:46:13 +10:00
parent 583faa58d3
commit d803e99c6d
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ public class BlockRenderer extends Renderer
{
if (entity != null && entity.getModel() != null) {
prepTexture(entity.getModel().getTexture(), entity.getModel().getTexture().getTextureID());
GL11.glTexParameteri(GL11.GL_TEXTURE_2D, GL11.GL_TEXTURE_MAG_FILTER, GL11.GL_NEAREST);
prepBlockInstance(entity);
GL11.glDrawElements(GL11.GL_TRIANGLES, model.getRawModel().getVertexCount(), GL11.GL_UNSIGNED_INT, 0);