On 10/1/07, <b class="gmail_sendername">marius schebella</b> &lt;<a href="mailto:marius.schebella@gmail.com">marius.schebella@gmail.com</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;">
I am trying to get more multitexture glsl stuff working. the problem I<br>am having right now is that I don&#39;t know how to pass the rectangle<br>coords of the second texture to the glsl program.</blockquote><div><br>Send the message &#39;MyTex1 1&#39; to glsl_program and it will set the sampler to read from the second texture unit.&nbsp; The sampler texunit is treated like any variable sent to the shader.&nbsp; You can name it whatever you want as long as the right message is given to glsl_program.
<br></div><br><br></div><br>