use texture alpha channel again
This commit is contained in:
@@ -68,8 +68,8 @@ export default class BlockRenderer {
|
|||||||
this.tessellator.setColor(color, color, color);
|
this.tessellator.setColor(color, color, color);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set opacity of block
|
// Set opacity of block (Using alpha channel in texture right now)
|
||||||
this.tessellator.setAlpha(1 - block.getTransparency());
|
// this.tessellator.setAlpha(1 - block.getTransparency());
|
||||||
|
|
||||||
// Add face to tessellator
|
// Add face to tessellator
|
||||||
this.addFace(world, face, ambientOcclusion, minX, minY, minZ, maxX, maxY, maxZ, minU, minV, maxU, maxV);
|
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 |
Reference in New Issue
Block a user