jit.gl.mesh How to color and fade out.

    Mar 19 2017 | 11:06 pm
    I have this bigger patch based on the enclosed help-patch from mesh.
    What I need to add is a way to color the triangular shaped grid. This works by coloring the jit.gridshape.
    But I like to bring the color direct in the gl.mesh, so I can use the alpha for fading out. I would be very surprised if that would be impossible.
    But yet, for me it is uphill now.
    Who can help me out.
    Another way of fading the mesh-image before it goed to be rendered also could be a solution.
    Lots of thanks

    • Mar 20 2017 | 1:50 am
      hello Plem ,
      works here
    • Mar 20 2017 | 3:04 am
      @PLEM: you had the blend_enable attribute on for [jit.gl.gridshape], which is what you want if you don't use [jit.gl.mesh] and 'matrixoutput'.
      Check out Phiol's example: the only difference is that he turns on [jit.gl.mesh]'s blend_enable attribute, he doesn't even uses the [jit.gl.gridshape]'s one.
    • Mar 20 2017 | 11:16 am
      Thanks a lot, guys.
      You got me going again.