Hello everyone,

I'm looking for a solution to create a linear gradient label in pyglet.
AFAIK the glyphs are textured GL_QUADS, so theoretically all I have to do 
is add 4 colors to the 4 vertices:

    # V0 and V1 are the bottom, and V2 and V3 are the top
    ('c4B', (0, 0, 0, 255, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255, 
255))

Although pyglet.text.Label only has a single color attribute, that can only 
handle a single quadlet-tuple of a color.
What is the proper way of doing this?

Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to