Posted July 29, 201411 yr I could use this, it would make a machine in my mod look so much better, you see, its an electrolysis machine, so I have the main body made of glass, so I wanted it to be so when you put water in the interface, the glass 'pipes' fill with water. But the alpha is removed from my texture, well, set to full, so it look ugs. Is there a way to allow for alpha values in MC? [shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]
July 29, 201411 yr GL11.glEnable(GL11.GL_BLEND); OpenGlHelper.glBlendFunc(770, 771, 1, 0); //your model render code GL11.glDisable(GL11.GL_BLEND);
July 29, 201411 yr OpenGlHelper.glBlendFunc(770, 771, 1, 0); I would use OpenGlHelper.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA, GL11.GL_ONE, GL11.GL_ZERO); since I don't like "magic numbers" Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
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.