Texture repeating on quads OpenGL
问题 I am writing a voxel engine and at the moment I am working on the Chunk-Rendering-System but I have a problem. It seems that the textures were repeated on the quads. There is this green line at the bottom of the grass blocks and I don't know why. This is the OpenGL-Render-Code: Texture texture = TextureManager.getTexture(block.getTextureNameForSide(Direction.UP)); texture.bind(); GL11.glBegin(GL11.GL_QUADS); GL11.glTexCoord2d(0, 0); GL11.glVertex3f(0, 1, 0); GL11.glTexCoord2d(1, 0); GL11