cyrille<br><br>I got multiple texture sources working with ARB_fragment shaders here.&nbsp; The problem is that we need to do some more work on the GEM code to make it useful for everyone.&nbsp; <br><br>cgc<br><br>On 8/29/06, <b class="gmail_sendername">
cyrille henry</b> &lt;<a href="mailto:cyrille.henry@la-kitchen.fr">cyrille.henry@la-kitchen.fr</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>hello Chris,<br><br>chris clepper a écrit :<br>&gt;<br>&gt; On 8/29/06, *cyrille henry* &lt;<a href="mailto:cyrille.henry@la-kitchen.fr">cyrille.henry@la-kitchen.fr</a><br>&gt; &lt;mailto:<a href="mailto:cyrille.henry@la-kitchen.fr">
cyrille.henry@la-kitchen.fr</a>&gt;&gt; wrote:<br>&gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; void main()<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gl_TexCoord[0] = gl_MultiTexCoord0;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&gt;<br>&gt;<br>&gt; Try adding this:<br>&gt;<br>&gt;&nbsp;&nbsp;gl_TexCoord[1] = gl_MultiTexCoord1;<br><br>yes, i forget this.<br>but that's not the only problem, my square is still black.<br><br><br>&gt;
<br>&gt; Also, you might want to check out the GL 'OrangeBook' which covers<br>&gt; GLSL.&nbsp;&nbsp;The imaging section is truly awful though - don't use any of<br>&gt; those shaders - but it does go over the general spec.&nbsp;&nbsp; It mentions
<br>&gt; MultiTexCoords&nbsp;&nbsp;on two pages out of&nbsp;&nbsp;nearly 600.<br><br>i ordered the orange book. waiting for it.<br><br>&gt;<br>&gt; There might be some better shader examples from ATI, Apple or a game<br>&gt; tutorial site.<br>
&gt;<br><br>i also have problem with gem, as there is no help for gemframebuffer or<br>pix_multitexture.<br><br>thanks for your help<br><br>Cyrille<br><br><br>&gt; cgc<br>&gt;<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------
<br>&gt;<br>&gt; _______________________________________________<br>&gt; GEM-dev mailing list<br>&gt; <a href="mailto:GEM-dev@iem.at">GEM-dev@iem.at</a><br>&gt; <a href="http://lists.puredata.info/listinfo/gem-dev">http://lists.puredata.info/listinfo/gem-dev
</a><br></blockquote></div><br>