| GL11.glEnable(GL11.GL_ALPHA_TEST); | |
| GL11.glEnable(GL11.GL_STENCIL_TEST); | |
| GL11.glAlphaFunc(GL11.GL_GREATER, GL11.GL_ZERO); | |
| GL11.glBlendFunc(GL11.GL_DST_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA); | |
| while (i < entities.length && entities[i].getZIndex() < threshold) { | |
| entities[i].render(game, g); // renders with thin white border | |
| i++; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment