<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>void main()<br>{<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gl_TexCoord[0] = gl_MultiTexCoord0;<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;<br><br>}</blockquote><div><br>
Try adding this:<br>
<br>
&nbsp;gl_TexCoord[1] = gl_MultiTexCoord1;<br>
<br>
Also, you might want to check out the GL 'OrangeBook' which covers
GLSL.&nbsp; The imaging section is truly awful though - don't use any
of those shaders - but it does go over the general spec.&nbsp;&nbsp; It
mentions&nbsp; MultiTexCoords&nbsp; on two pages out of&nbsp; nearly
600.<br>
<br>
There might be some better shader examples from ATI, Apple or a game tutorial site. <br>
<br>
cgc<br>
</div><br></div><br>