On Mon, Dec 15, 2008 at 10:54 AM, Alex_Gaynor <[email protected]> wrote:
>
> Right now I have:
>        gl.glEnable(gl.GL_BLEND)
>        gl.glBlendFunc(gl.GL_SRC_ALPHA, gl.GL_ONE_MINUS_SRC_ALPHA)
>
> Which I believe makes sense for what I want, however I believe either
> the values I'm using for alpha don't make sense, or a problem is being
> caused by having a black background behind what I have there, does
> that make sense?

Seems to work for me -- if you offset your polygon so that it overlaps
the image you can see the blending; alternatively, adjusting the alpha
value changes the color (less blending with black).

Alex.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to