I have looked at this several times and cannot get it to work.  The problem is when the texcoords are different values all textures but the first are wiped out.  If all textures are the same size as what gl_MultiTexCoord0 is then is should work fine.  Sorry I can't be of more help.
<br><br><div><span class="gmail_quote">On 11/10/07, <b class="gmail_sendername">marius schebella</b> &lt;<a href="mailto:marius.schebella@gmail.com">marius.schebella@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi (chris),<br>I know that I am bothering you, but I think you (chris) are the only one<br>who can help with the MultiTexture stuff and therefore I send another mail.<br>I don&#39;t know how to get gl_MultiTexCoord1 and higher working. I cannot
<br>reference glsl to read from any other than gl_MultiTexCoord0. I looked<br>into gem code for glsl_vertex and glsl_program, and did not find<br>something which looks releated to multitextures.<br>then I looked into GemShape.cpp
 and rectangle.cpp and found a variable<br>curCoord. and a section in rectangle that is related to that and<br>commented out. I am (still) no C programmer and don&#39;t know the history<br>of gem (why parts are commented out...?), but it seems that these two
<br>things, in connection with SetVertex(GemState* state,float x, float y,<br>float z, float tx, float ty,int curCoord) could be part of the problem.<br>thanks,<br>marius.<br><br>_______________________________________________
<br>GEM-dev mailing list<br><a href="mailto:GEM-dev@iem.at">GEM-dev@iem.at</a><br><a href="http://lists.puredata.info/listinfo/gem-dev">http://lists.puredata.info/listinfo/gem-dev</a><br></blockquote></div><br>