marius schebella a écrit :
cyrille henry wrote:
a workaround is to use a dummy image : [gemhead] | [shader..] | [pix_image] [from_another_frambuffer] | / [pix_texture]
you'll then use the texture coordinate of the image you load, but this image is replaced by the the one from the framebuffer.
thanks, I am not sure if I understand this. where exactly do I have to put the pix_image? I tried [gemhead] | [shader..] | [pix_image] [from_another_framebuffer] | / [pix_texture]
but that way, the pix_texture is always using the dummy image and not the framebuffer.
oups, yes. your right. solution is more complex than that.
look at example 06 in 10.glsl gem example folder.
(a patch is better than any explanation...)
cyrille
marius.
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev