On Jun 27, 2007, at 1:57 AM, chris clepper wrote:
On 6/26/07, cyrille henry <cyrille.henry@la-kitchen.fr> wrote: Cypod a écrit :
> What books or webpages are out there for learning how to write glsl
> shaders, for use in 3D?
>
> http://en.wikibooks.org/wiki/Programming:OpenGL
http://www.glprogramming.com/red/
The online free versions are many revisions behind. That is only version 1.1 of GL which does not cover shaders. It is still a good reference for basic GL though.
> Are there any third party applications for writing glsl shaders that
> can be easially ported over to PD?
you don't need anything more than a text editor to write a shader.
There are apps like ShaderBuilder on OSX and ATI's RenderMonkey (awful name), but GEM is more flexible. You can modify Cyrille's patches to use pix_movie or a variety of geometry. Write the shader in the text editor and reload it in GEM to see the update. You will even get error codes in the Pd console if you do something wrong.
Do you know of any example patches for varying geometries using shaders in Gem? I'd like to see that kind of stuff.
.hc
_______________________________________________