<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Aug 16, 2010 at 9:41 AM, Sasha Koruga <span dir="ltr"><<a href="mailto:skoruga@gmail.com">skoruga@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">
>> +        const char * shaderStrings[SHADEROPTIONSCOUNT] =<br>
>> {"convertbt", "widen", "detect", "gamma18", "gamma22", "gammabt",<br>
>> "invert", "grayscale"};<br>
> What happens if there are other shaders in the .fx file?<br>
<br>
</div><br>I was thinking of having something like "custom1" "custom2" "custom3",<br>
and then people could fill that in the shader file. If they think<br>
their particular shader code is useful to more people, then they can<br>
submit it.<br>
<br></blockquote><div>Is there no way to allow these names to be specified in the .fx and then dynamically pull them out? <br></div></div><br><br clear="all"><br>-- <br><div dir="ltr"><font size="1"><a style="font-family:courier new,monospace" href="http://blog.2of1.org" target="_blank">http://blog.2of1.org</a></font><br>
</div><br>
</div>