recolor image with jit.gl.pix using a 3 color gradient mimic "tritone" efx
Mar 18 2023 | 12:59 pm
I am trying to mimic the nice "tritone" color effect which is included in Adobe After effects. It colorises an image using a 3 color gradient. See the attached image.
To colorize and image with two colors we simply can use the mix object.
Here is a patch, which is generating the 3 color gradient. I am struggling with the jit.gl.pix. I think what I need is using the gradient as a lookup table not as an input.
Perhaps someone has a hint for me, Thanks in advance, pelo