blending textures on jit.gl.mesh
Hi all,
i want to blend 2 textures on a same shape.
I use jit.gl.mesh to have my specific shape.
I have an image and a text to blend together.
I can select one or the other texture to be displayed on my shape but i cannot have both...
Any idea?
Moreover, i want to have my text black and controlle by alpha...
Thanks for your help
here is a little patch to understand...
Hi, my problem is not solved, do you know where i can found some documentation on blending methods with Jitter?
Thanks
you can apply more than one texture with gl.mesh, however what you can't currently do is set the texcoords for more than one texture.
a solution is to use slabs to blend your textures prior to applying them to the gl.mesh. this has the benefit of giving you many more options and control over the compositing.
Yes thank you very much !
But i want to mix a matrix with a text.
Your patch mix 2 matrixes...
How can i connect my jit.gl.text2d to jit.gl.slab ?