ChessMod

ChessMod

104k Downloads

Vertices in the +x face in ChessboardTileEntityRenderer are in the wrong order

ramou opened this issue ยท 0 comments

commented

//east side [pos x] [parent z]
bufferbuilder.pos(+size, -size, -size).tex(textureScale,textureScale).normal(1, 0, 0).endVertex();
bufferbuilder.pos(+size, -size, +size).tex(textureScale,0).normal(1, 0, 0).endVertex();
bufferbuilder.pos(+size, +size, +size).tex(0,0).normal(1, 0, 0).endVertex();
bufferbuilder.pos(+size, +size, -size).tex(0,textureScale).normal(1, 0, 0).endVertex();

should be

         //east side [pos x] [parent z]
         bufferbuilder.pos(+size, -size, -size).tex(textureScale,textureScale).normal(1, 0, 0).endVertex();
         bufferbuilder.pos(+size, +size, -size).tex(textureScale,0).normal(1, 0, 0).endVertex();
         bufferbuilder.pos(+size, +size, +size).tex(0,0).normal(1, 0, 0).endVertex();
         bufferbuilder.pos(+size, -size, +size).tex(0,textureScale).normal(1, 0, 0).endVertex();