1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-24 18:37:38 +00:00

Make monitor text glow in the dark

This commit is contained in:
SquidDev
2017-05-04 22:24:39 +01:00
parent 17a3e120e8
commit 933bdcc6b7
3 changed files with 4 additions and 0 deletions

View File

@@ -104,6 +104,7 @@ public class TileEntityMonitorRenderer extends TileEntitySpecialRenderer<TileMon
// Draw the contents
GlStateManager.depthMask( false );
GlStateManager.disableLighting();
mc.entityRenderer.disableLightmap();
try
{
if( terminal != null )
@@ -256,6 +257,7 @@ public class TileEntityMonitorRenderer extends TileEntitySpecialRenderer<TileMon
finally
{
GlStateManager.depthMask( true );
mc.entityRenderer.enableLightmap();
GlStateManager.enableLighting();
}