Re: [PyOpenGL-Users] Difficulty with the shaders tutorial
Brought to you by:
mcfletch
From: Nicolas R. <Nic...@in...> - 2012-02-17 08:39:22
|
No need to go for OpenGL 3.0 to use shaders. Here is code that do what you want (translated from glumpy): Color are transformed using the alpha channel of the image (see fragment code) and the color lookup table is a 1d texture. Fill it with any color sequence you want. Nicolas |