On Tue, Apr 14, 2009 at 6:52 AM, bobmitch <[email protected]> wrote:
>
> There's probably a 'correct' way to do this manipulating colour table
> lookups, but this seems like a simple way of doing it.


You can do this with a pixel shader and a palette texture. Just let the
pixel shader lookup the new colour from the 1-dimensional palette texture,
based on the original colour.
-- 
Tristam MacDonald
http://swiftcoder.wordpress.com/

--~--~---------~--~----~------------~-------~--~----~
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