[PD] GEM: multitexturing in GEM

Hans-Christoph Steiner hans at eds.org
Fri Jul 13 04:58:58 CEST 2007


That's nice, a little odd to see a pix_texture not attached to a  
shape, but I suppose it makes sense.  It would be nice to see these  
shader examples in the "Gem/examples" section, maybe something like  
"10.shaders".

.hc

On Jul 11, 2007, at 1:03 PM, chris clepper wrote:

> I have attached a very simple patch and shader for adding two  
> textures together.
>
> The shader needs to be loaded after window creation and rendering
> starts to work correctly.  The shader has some basic comments about
> what the commands do.  You can replace the ADD with MUL to get a
> different effect to get started.
> <add_frag.txt>
> <2shader_test.pd>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list






------------------------------------------------------------------------ 
----

"...information-sharing is a powerful positive good, and... it is an  
ethical duty of hackers to share their expertise by writing open- 
source code and facilitating access to information and to computing  
resources wherever possible."   - Eric Raymond







More information about the Pd-list mailing list