OpenGL constants
This commit is contained in:
parent
e2f2417695
commit
abc2f6ab50
31 changed files with 179 additions and 362 deletions
|
@ -27,7 +27,7 @@ public class LayerMooshroomMushroom implements LayerRenderer<EntityMooshroom>
|
|||
BlockRenderer blockrendererdispatcher = Game.getGame().getBlockRendererDispatcher();
|
||||
this.mooshroomRenderer.bindTexture(TextureMap.locationBlocksTexture);
|
||||
GlState.enableCull();
|
||||
GlState.cullFace(1028);
|
||||
GlState.cullFace(GL11.GL_FRONT);
|
||||
GL11.glPushMatrix();
|
||||
GL11.glScalef(1.0F, -1.0F, 1.0F);
|
||||
GL11.glTranslatef(0.2F, 0.35F, 0.5F);
|
||||
|
@ -51,7 +51,7 @@ public class LayerMooshroomMushroom implements LayerRenderer<EntityMooshroom>
|
|||
GL11.glTranslatef(-0.5F, -0.5F, 0.5F);
|
||||
blockrendererdispatcher.renderBlockBrightness(Blocks.red_mushroom.getState(), 1.0F);
|
||||
GL11.glPopMatrix();
|
||||
GlState.cullFace(1029);
|
||||
GlState.cullFace(GL11.GL_BACK);
|
||||
GlState.disableCull();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue