Jump to content

Alpha in model textures?


Recommended Posts

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?


Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.