how to apply color gradient to jit.gl.mesh

antialias's icon

Not getting how to apply jit.gradient to jit.gl.mesh---->

Max Patch
Copy patch and select New From Clipboard in Max.

antialias's icon

got it--- need to jit.pack 1 @jump 8 for the gridshape matrix, then gradient to matrix to color array inlet.

Max Patch
Copy patch and select New From Clipboard in Max.