[GEM-dev] shader library
Mathieu Bouchard
matju at artengine.ca
Fri Aug 17 01:59:42 CEST 2007
On Thu, 16 Aug 2007, Wesley Smith wrote:
> I don't think it makes it less flexible except in that vertex and
> fragment shaders can't be arbitrarily matched (which they can't be
> anyway unless the varyings are the same). What it does provide is
> automatic default values which is really nice. With the scheme I
> described earlier, sampler units can also be changed on the fly. An
> XML format does not prohibit such things. In addition, one can add
> text descriptions to the shader and parameters which depending on your
> taste may or may not be useful.
I think it fits more with pd to use the pd patch format itself to
configure that kind of thing. It's more fitting than XML except if the aim
is to support existing Jitter files.
In general, Pd has a strong sense of reusing the same format for different
things: the contents of an objectbox, the contents of a messagebox, the
whole file format, the netsend/netreceive format and messages from the GUI
to the message-system, are five things which share essentially the same
syntax.
_ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada
More information about the GEM-dev
mailing list