Re: [pygame] [OpenGL] Text, Transparency and Lists

2006-09-16 Thread Richard Jones
On Sunday 17 September 2006 11:31, Kris Schnee wrote: I've put the latest code at: http://kschnee.xepher.net/code/scurvy.py Looks like you've enabled blending without specifying a blend function. You'll want something like: glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) This indicates

Re: [pygame] [OpenGL] Text, Transparency and Lists

2006-09-16 Thread Kris Schnee
Richard Jones wrote: Looks like you've enabled blending without specifying a blend function. You'll want something like: glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) This indicates to use the texture's alpha channel for the texture imagea and the opposite (one minus) for the ground

Re: [pygame] [OpenGL] Text, Transparency and Lists

2006-09-16 Thread Richard Jones
On Sunday 17 September 2006 12:34, Kris Schnee wrote: Richard Jones wrote: Looks like you've enabled blending without specifying a blend function. You'll want something like: glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA) This indicates to use the texture's alpha channel for the