[PD] GEM: writing an arbitrary blend function (glsl)?

vade doktorp at mac.com
Fri Dec 25 22:42:45 CET 2009

You can do arbitrary blend modes in PD with GLSL as you suspect. take  
a look at http://001.vade.info/?page_id=20 which has shaders for video  
mixers (a through a+b to  b blending, not just a+b)  with most  
photoshop blend modes.

You can use them verbatim with PD (Marius Schebella has some patches I  

Feel free to use them as you wish, or hack them apart :)

On Dec 25, 2009, at 3:07 PM, Matteo Sisti Sette wrote:

> Matteo Sisti Sette escribió:
>> Basically, in the mentioned example you compute a resulting  
>> gl_FracColor which is what is called the "source color".
> Well well, I am far from sure this is correct, this is just my  
> understanding, and I don't even know whether for example lighting  
> information is applied before or after this stage, but in the  
> simplified case of a flat rectangle with no lighting, that becomes  
> irrelevant...
> -- 
> Matteo Sisti Sette
> matteosistisette at gmail.com
> http://www.matteosistisette.com
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list