Skip to content

Commit

Permalink
fix emissive overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
ghzdude committed Nov 21, 2023
1 parent bd06b54 commit 9522a08
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,14 @@ public MetaTileEntity createMetaTileEntity(IGregTechTileEntity tileEntity) {

@Override
public void renderMetaTileEntity(CCRenderState renderState, Matrix4 translation, IVertexOperation[] pipeline) {
Textures.QUANTUM_CONTROLLER_ACTIVE.render(renderState, translation, pipeline);
Textures.QUANTUM_CHEST_OVERLAY.renderSided(getFrontFacing(), renderState, translation, pipeline);
for (EnumFacing facing : EnumFacing.VALUES) {
if (facing == getFrontFacing()) {
Textures.SOLID_STEEL_CASING.renderSided(facing, renderState, translation, pipeline);
Textures.QUANTUM_CHEST_OVERLAY.renderSided(facing, renderState, translation, pipeline);
} else {
Textures.QUANTUM_CONTROLLER_ACTIVE.renderSided(facing, renderState, translation, pipeline);
}
}
}

@Override
Expand Down

0 comments on commit 9522a08

Please sign in to comment.