use texture alpha channel again

This commit is contained in:
LabyStudio
2022-05-05 00:08:27 +02:00
parent a3a4d44386
commit 1d15ad6474
2 changed files with 2 additions and 2 deletions
@@ -68,8 +68,8 @@ export default class BlockRenderer {
this.tessellator.setColor(color, color, color);
}
// Set opacity of block
this.tessellator.setAlpha(1 - block.getTransparency());
// Set opacity of block (Using alpha channel in texture right now)
// this.tessellator.setAlpha(1 - block.getTransparency());
// Add face to tessellator
this.addFace(world, face, ambientOcclusion, minX, minY, minZ, maxX, maxY, maxZ, minU, minV, maxU, maxV);
Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB