I am currently using a basic text drawing method, which pretty works. I set the color of drawing to white. Now all my textures I use, will have white spaces in the transparancy. How can I disable the color I set?
Source: https://github.com/Desmaster/Devio/blob/master/src/com/github/desmaster/Devio/Devio.java
Call glColor with (1, 1, 1) again.
My guess would be its not glColor, but glBlendfunc.
Do you change the blending when drawing text?
Yes. He needs to call
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
before drawing sprites again.
Also, you need to draw the things with alpha in it before drawing the stuff without alpha.
Yes, I disable the blending with glDisable(GL11.GL_BLEND); first, after the drawing I enable it by glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
Yes I got it fixed! Thanks guys!