<div>I like the solution we have now as it&nbsp;requires nothing beyond GLSL code to run shaders.&nbsp; I prefer having these things in the patch since that is exactly how Pd is supposed to work.&nbsp; Is it so odd to make objects conform to specs rather than making up your own?
<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/16/07, <b class="gmail_sendername">Wesley Smith</b> &lt;<a href="mailto:wesley.hoke@gmail.com">wesley.hoke@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I don&#39;t think it makes it less flexible except in that vertex and<br>fragment shaders can&#39;t be arbitrarily matched (which they can&#39;t be
<br>anyway unless the varyings are the same).&nbsp;&nbsp;What it does provide is<br>automatic default values which is really nice.&nbsp;&nbsp;With the scheme I<br>described earlier, sampler units can also be changed on the fly.&nbsp;&nbsp;An<br>XML format does not prohibit such things.&nbsp;&nbsp;In addition, one can add
<br>text descriptions to the shader and parameters which depending on your<br>taste may or may not be useful.<br><br>wes<br></blockquote></div>