mirror of
https://github.com/GTNewHorizons/Applied-Energistics-2-Unofficial.git
synced 2026-11-14 01:14:11 +00:00
Use a full 2x2 replenisher status mask
This commit is contained in:
1 parent
b0fcd7f7ac
commit
3f1c3846e8
2 files changed
+1
-1
No files matched your search
@@ -49,7 +49,7 @@ public class RenderBlockSuperMEReplenisher extends BaseBlockRender<BlockSuperMER
|
||||
tess.setBrightness(block.getMixedBrightnessForBlock(world, adjacentX, adjacentY, adjacentZ));
|
||||
tess.setColorOpaque_F(status == -1 ? shade : 0.0f, status == 1 ? shade : 0.0f, 0.0f);
|
||||
|
||||
// Match the base UVs so the mask leaves its shine pixel exposed after rotation.
|
||||
// Keep the overlay aligned with the base texture after rotation.
|
||||
final IIcon base = block.getIcon(world, x, y, z, side.ordinal());
|
||||
icon.setFlip(base.getMinU() > base.getMaxU(), base.getMinV() > base.getMaxV());
|
||||
this.renderFace(x, y, z, block, icon, renderer, side);
|
||||
|
||||
BIN
Binary file not shown.
|
Before Width: | Height: | Size: 97 B After Width: | Height: | Size: 96 B |
Reference in new issue
Block a user