hi (chris), I know that I am bothering you, but I think you (chris) are the only one who can help with the MultiTexture stuff and therefore I send another mail. I don't know how to get gl_MultiTexCoord1 and higher working. I cannot reference glsl to read from any other than gl_MultiTexCoord0. I looked into gem code for glsl_vertex and glsl_program, and did not find something which looks releated to multitextures. then I looked into GemShape.cpp and rectangle.cpp and found a variable curCoord. and a section in rectangle that is related to that and commented out. I am (still) no C programmer and don't know the history of gem (why parts are commented out...?), but it seems that these two things, in connection with SetVertex(GemState* state,float x, float y, float z, float tx, float ty,int curCoord) could be part of the problem. thanks, marius.
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.
On 11/10/07, marius schebella marius.schebella@gmail.com wrote:
hi (chris), I know that I am bothering you, but I think you (chris) are the only one who can help with the MultiTexture stuff and therefore I send another mail. I don't know how to get gl_MultiTexCoord1 and higher working. I cannot reference glsl to read from any other than gl_MultiTexCoord0. I looked into gem code for glsl_vertex and glsl_program, and did not find something which looks releated to multitextures. then I looked into GemShape.cpp and rectangle.cpp and found a variable curCoord. and a section in rectangle that is related to that and commented out. I am (still) no C programmer and don't know the history of gem (why parts are commented out...?), but it seems that these two things, in connection with SetVertex(GemState* state,float x, float y, float z, float tx, float ty,int curCoord) could be part of the problem. thanks, marius.
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev