Guest User

Untitled

a guest
Apr 12th, 2014
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.63 KB | None | 0 0
  1.  
  2.         GL11.glPushMatrix();
  3.         GL11.glTranslatef((float) d0, (float) d1, (float) d2);
  4.         float size = ((ISizeable) entity).getSize();
  5.         GL11.glScalef(size, size, size);
  6.  
  7.         GL11.glEnable(GL11.GL_BLEND);
  8.         GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
  9.         GL11.glColor4f(this.colorRed, this.colorGreen, this.colorBlue, 1.0F);
  10.         GL11.glDepthMask(false);
  11.  
  12.         FMLClientHandler.instance().getClient().renderEngine.bindTexture(oxygenBubbleTexture);
  13.         this.oxygenBubbleModel.render(entity, (float) d0, (float) d1, (float) d2, 0, 0, 1.0F);
  14.  
  15.         GL11.glDepthMask(true);
  16.  
  17.         GL11.glPopMatrix();
  18.         GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
Advertisement
Add Comment
Please, Sign In to add comment