We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm now here, so let me introduce myself.
I'm Alex, from sunny London, in the UK.
I'm new to Processing, but have some programming experience, in various languages. I've also used GLSL shaders quite a lot in Quartz Composer, but the particular job I'm working on at the moment seems difficult to achieve in QC, so I'm thinking of giving Processing a try, instead, which brings me to my questions:
Is it possible to chain several 2D fragment shaders together, so that the result of one shader is passed into the next shader as a texture? My particular scenario involves a further complication:
Is it possible to chain 2 shaders as above, and have the second shader feed back into the first, and also go through a third shader, which renders the result to the screen? I've attempted to illustrate what I have in mind below.
|| [shader 0] > [shader 1] || > [shader 2] > [screen]
=== < [prev. frame] < ===
I'm aware this is kinda throwing myself in at the deep end, but any advice would be much appreciated.