Posted June 22, 201411 yr I'm calling the draw method during the post event of RenderGameOverlayEvent. http://pastebin.com/xQcsNvuv Here's a picture of the current situation (sorry about the craziness): Finally here's a picture of the textures: If the picture couldn't explain it, the transparent parts of the textured rectangles I'm drawing are being drawn as black areas instead of transparent areas. Kain
June 22, 201411 yr Hi Probably either the alpha values in your bitmap are not right, or alpha testing is turned off try GL11.glPushAttrib(GL11.GL_ENABLE_BIT); GL11.glEnable(GL11.GL_ALPHA_TEST); // render here GL11.glPopAttrib(); -TGG
June 22, 201411 yr I would have guessed that GL11.glEnable(GL11.GL_BLEND); wasn't on... But I am probably wrong. We all stuff up sometimes... But I seem to be at the bottom of that pot.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.