Change Color in jit.gl.gridshape


    Feb 21 2021 | 11:56 pm
    Hi guys! I need help ... i can't change color to 3d object in jit.gl.gridshape. I have tried in every way but i have not succeeded. Does anyone have any advice for me? I am attaching the patch (sorry for the mess). Thank you!

    • Feb 22 2021 | 3:40 pm
      the gridshape's color attribute is used to change the color, and in your patch it is working as expected (throw a jit.pwindow after the capturing gl.node to see in action). Your problem is in the feedback jit.gl.pix process, where there is some confusing logic that's is swapping color planes and doing some math. chopping that logic gets your color back in the feedback output.