Anti Transparent Block Attempt 2?

This commit is contained in:
AlgorithmX2 2014-02-11 20:31:27 -06:00
parent 61d79900db
commit ea9dead394

View file

@ -30,6 +30,7 @@ public class ItemRenderer implements IItemRenderer
GL11.glEnable( GL11.GL_ALPHA_TEST );
GL11.glEnable( GL11.GL_DEPTH_TEST );
GL11.glEnable( GL11.GL_BLEND );
GL11.glBlendFunc( GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA );
GL11.glColor4f( 1.0f, 1.0f, 1.0f, 1.0f );
if ( type == ItemRenderType.ENTITY )