I am rendering a geometry twice in the screen using a named jit.gl.mesh and a jit.gl.sketch.
The mesh geometry is being processed by a shader, which is bound and unbound through OpenGL commands in the jit.gl.sketch command list.
The shader is taken from Pelado's morph shader example, and it is intended to deform geometry vertices by means of a noise matrix, which is passed to the shader through as vertex attribute matrix.
My question is: how can I pass this vertex attribute matrix to jit.gl.sketch? when I pass it through jit.gl.mesh, as in Pelado's example, it doesn't work.
here is my code, thanks in advance