So I made some black lettering with Paint.NET that has a transparent background, but when I render it, it’s just a black box. (there’s a blue background so it’s not just blending into the default black background) I’m pretty new to OpenGL and I know it’s probably just something I need to enable or something like that. All help is appreciated!
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
Should handle what you’re looking to do.
For an in-depth look at the parameters, check http://www.opengl.org/sdk/docs/man2/xhtml/glBlendFunc.xml out.
Hey thanks man, that fixed it.