how can i apply a chain of shaders to the graphic created by jit.gl.graph?
hello everyone,
i'm brand new to the gl world. what i'm trying to do is to get the output of jit.gl.graph and manipulate it with say some color shaders as I would do in the world of matrices.
is there a way that I can get to 'capture' the output of gl.graph to some object so that i can feed it to a chain of effects (my eventual goal is a feedback chain containing slabs)? I found that the jit.gl.graph does not provide anything (no matrix or gl) at its outlet.
i hope i do not sound terribly ignorant. first week with jit.gl :)
thanks.
t.
hello.
you need to set the @capture attribute of the gl object to the name of a jit.gl.texture object.
this will capture the rendering of the object to the texture, allowing you to process further using gl.slabs.
alternatively, you can use the jit.gl.node object to capture several gl objects to texture.
Thank you so much Robert,
for your attention and great demonstration. it's all clear now.
cheers.