Jump to content

Alphexon

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Alphexon's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I'm having a tough time getting alpha transparency on strings to work. GL11.glPushMatrix(); GL11.glEnable(GL11.GL_BLEND); OpenGlHelper.glBlendFunc(770, 771, 1, 0); mc.fontRenderer.drawStringWithShadow("Hello, world!", x, y, color + (alpha << 24)); GL11.glDisable(GL11.GL_BLEND); GL11.glPopMatrix(); The alpha value is between 0 and 255, inclusively, but it refuses to render on certain numbers. Is there a different way of accomplishing this, or is my bitwise calculation off? I can't find help support for GUI text transparency anywhere. Thanks in advance.
×
×
  • Create New...

Important Information

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