This is definetely the most helpful ressource I got.

I'm trying to adapt it somewhat to pyglet (defining an IndexedTexture class 
to use - along with the shaders - with pyglet's sprites).

Thanks a lot!

Le mardi 13 août 2013 07:40:36 UTC+2, Nicolas Rougier a écrit :
>
>
>
> Here is an example (using glut but it should be quite simple to adapt to 
> pyglet). 
>
> The texture to be colorized is "texture" within the shader 
> The lookup color table is "lut". 
>
> You can also have a look at glumpy where I use this "trick" a lot. 
> Hope that helps. 
>
>
> Nicolas 
>
>

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