OpenGL constants
This commit is contained in:
parent
e2f2417695
commit
abc2f6ab50
31 changed files with 179 additions and 362 deletions
|
@ -548,10 +548,10 @@ public class ItemRenderer
|
|||
// Tessellator tessellator = Tessellator.getInstance();
|
||||
RenderBuffer worldrenderer = Tessellator.getBuffer();
|
||||
GlState.color(1.0F, 1.0F, 1.0F, 0.9F);
|
||||
GlState.depthFunc(519);
|
||||
GlState.depthFunc(GL11.GL_ALWAYS);
|
||||
GlState.depthMask(false);
|
||||
GlState.enableBlend();
|
||||
GlState.tryBlendFuncSeparate(770, 771, 1, 0);
|
||||
GlState.tryBlendFuncSeparate(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA, GL11.GL_ONE, GL11.GL_ZERO);
|
||||
float f = 1.0F;
|
||||
|
||||
for (int i = 0; i < 2; ++i)
|
||||
|
@ -582,7 +582,7 @@ public class ItemRenderer
|
|||
GlState.color(1.0F, 1.0F, 1.0F, 1.0F);
|
||||
GlState.disableBlend();
|
||||
GlState.depthMask(true);
|
||||
GlState.depthFunc(515);
|
||||
GlState.depthFunc(GL11.GL_LEQUAL);
|
||||
}
|
||||
|
||||
public void updateEquippedItem()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue