hello,
you have to use frambuffer in order to chain multiple shader. there are example for this in the glsl section of Gem help.
the most common problem with gemframbuffer is that you need to add a translateXYZ 0 0 -4 after the gemhead in order to have the same vision point than without the frambuffer.
Cyrille
Ben Baker-Smith a écrit :
Hello,
I'm working on porting Andrew Benson's optical flow glsl shaders over to PD. I've got the primary shader working, but need to send the output to the second shader. I figured that the best way to deal with this would be to use [gemframebuffer] to send the results of my first chain (including [pix_video] and the first shader) to a second chain to be processed with the second shader.
My first problem is that I cannot seem to get [gemframebuffer] to work with [pix_video] or with [pix_film] for that matter. Is this the appropriate tool?
Alternately, if someone knows how to use multiple shaders in the same render chain then I wouldn't have to use [gemframebuffer] at all.
-Ben
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list