On May 11, 9:13 am, Tristam MacDonald <[email protected]> wrote: > The simplest way is to use a shader: bind your black-and-white texture to > one texture unit, a 1-dimensional palette texture to another unit, and then > use your shader to lookup a color inn the palette texture based on the > greyscale value from the first texture.
Got this working, thank you! I used your GLSL shader class. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
