I'm looking for a way to give every letter of a jit.gl.text3d a different color. I am outputting the matrix of the jit.gl.text3d to a jit.gl.mesh to work from there with color and draw_modes. I have tried giving it a texture, but can not find a way to map the texture on the entire text (instead of repeatedly on every single letter). Other tex_map modes also don't give the result i'm hoping for. I also tried the jit.gl.mesh color array inlet, but i can not find a way to figure out how many vertices every letter has so i can give them separate colors. If i set the jit.gl.mesh to auto_colors 1 i get somewhat the result i'm hoping to get when using a texture. I included some pictures to show what i mean. Any help/suggestions are welcome.
Thanks a lot!