[SDL] png transparency in testgl.c from sdl package

Justin Coleman jmcoleman at gmail.com
Sun Dec 12 15:41:58 PST 2010


Read this:
http://glprogramming.com/red/chapter06.html

Tells you all you need to know about opengl blending.

On Sun, Dec 12, 2010 at 5:56 PM, image28 <image28 at slingshot.co.nz> wrote:
> Anyone able to help? Also when I set
> glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA); to GL_ONE,GL_ONE the
> background is blended out, but when objects pass over each other they are
> semi-transparent. Been stuck on this problem for two months now!
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>



More information about the SDL mailing list