1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-26 11:27:38 +00:00

Merge pull request #191 from SquidDev-CC/feature/text-illumination

Make monitor text glow in the dark
This commit is contained in:
Daniel Ratcliffe
2017-05-06 22:11:28 +01:00
committed by GitHub
3 changed files with 4 additions and 0 deletions

View File

@@ -100,6 +100,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();
}