Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GL11.glPushMatrix();
- GL11.glTranslatef((float) d0, (float) d1, (float) d2);
- float size = ((ISizeable) entity).getSize();
- GL11.glScalef(size, size, size);
- GL11.glEnable(GL11.GL_BLEND);
- GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
- GL11.glColor4f(this.colorRed, this.colorGreen, this.colorBlue, 1.0F);
- GL11.glDepthMask(false);
- FMLClientHandler.instance().getClient().renderEngine.bindTexture(oxygenBubbleTexture);
- this.oxygenBubbleModel.render(entity, (float) d0, (float) d1, (float) d2, 0, 0, 1.0F);
- GL11.glDepthMask(true);
- GL11.glPopMatrix();
- GL11.glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
Advertisement
Add Comment
Please, Sign In to add comment