This does not change anything : my primitive is still black. thanks Cyrille
chris clepper a écrit :
Add
gl_TexCoord[0] = gl_MultiTexCoord0;
To your vertex program.
On 8/25/06, *cyrille henry* < cyrille.henry@la-kitchen.fr mailto:cyrille.henry@la-kitchen.fr> wrote:
hello, i'm trying to learn glsl. I can't find how to use texture in the fragment shader. does anyone have an exemple how to load texture with GEM glsl? thanks Cyrille _______________________________________________ GEM-dev mailing list GEM-dev@iem.at <mailto:GEM-dev@iem.at> http://lists.puredata.info/listinfo/gem-dev
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev