more OpenGL constants
This commit is contained in:
parent
abc2f6ab50
commit
fe57a2909a
28 changed files with 96 additions and 88 deletions
|
@ -55,7 +55,7 @@ public class EntityFootStepFX extends EntityFX
|
|||
this.currentFootSteps.bindTexture(EffectRenderer.particleTextures);
|
||||
GlState.enableBlend();
|
||||
GlState.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
|
||||
worldRendererIn.begin(7, DefaultVertexFormats.POSITION_TEX_COLOR);
|
||||
worldRendererIn.begin(GL11.GL_QUADS, DefaultVertexFormats.POSITION_TEX_COLOR);
|
||||
worldRendererIn.pos((double)(f3 - 0.125F), (double)f4, (double)(f5 + 0.125F)).tex(u1, u3).color(f6, f6, f6, f1).endVertex();
|
||||
worldRendererIn.pos((double)(f3 + 0.125F), (double)f4, (double)(f5 + 0.125F)).tex(u1, u2).color(f6, f6, f6, f1).endVertex();
|
||||
worldRendererIn.pos((double)(f3 + 0.125F), (double)f4, (double)(f5 - 0.125F)).tex(u, u2).color(f6, f6, f6, f1).endVertex();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue