I'm working on a Java implementation of the osu storyboard using JOGL, and I've run into an issue with transparent images.
Example:
I have the background:
And the image to be overlaid:
And it is rendered as:
I am using glBlendFunc(GL.GL_SRC_ALPHA,GL.GL_ONE_MINUS_SRC_ALPHA).
Depth test is disabled.
Fully transparent portions of images seem to work fine, just the partially transparent ones have issues.
Partial transparency with glColor works fine.
Anyone know why this is or what I may be doing wrong?
Example:
I have the background:
And the image to be overlaid:
And it is rendered as:
I am using glBlendFunc(GL.GL_SRC_ALPHA,GL.GL_ONE_MINUS_SRC_ALPHA).
Depth test is disabled.
Fully transparent portions of images seem to work fine, just the partially transparent ones have issues.
Partial transparency with glColor works fine.
Anyone know why this is or what I may be doing wrong?