Controlling colors with the jit.expr
Hi everyone,
Just wanted to ask how can one control colors with the jit.expr object. Just got a couple of patches published by Andrew Benson, and I'd really like to work with them, but it would be even better if I could choose the colors and their exact position. I've uploaded the specific patch. Thanks, Alex.
hi.
currently jit.gl.mesh does not support a color input matrix with lighting enabled.
also, it will ignore any input matrices other than the first input, if the first input matrix is more than three planes.
the solution is to disable lighting, and not provide a combined input matrix to the first input, but instead split the matrix and provide it for the corresponding input.
let me know if i should clarify further.
Thanks for the tip. I'll try to work it out.