Ive made an image with a blue background rgb(0, 0, 255) and I used glColor4f to make the background transparent, but the entire image becomes transparent.
This is the code Im using for blending. Can anyone help me find my problem?
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE);
GL11.glColor4f(1.0f, 1.0f, 1.0f, 0.0f);
Edit: I failed at blue rgb value