[GEM-dev] gl_MultiTexCoord1

chris clepper cgclepper at gmail.com
Sun Nov 11 18:03:28 CET 2007


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 at 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 at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20071111/e8544ad9/attachment.htm>


More information about the GEM-dev mailing list