Blend Modes with 3D text ... not working.
I don't fully understand the blend modes in Jitter? Can anyone tell me why this patch isn't working? I can't get the letters to blend against each other - perhaps I have got the layers wrong? Or it doesn't work with the poly~ object?
Any help massively appreciated.
steps to reproduce? what's not working as expected?
I would expect to be able to see type from different iterations of a poly~ (and set to a different layer) to be visible through each other and / or respond to the blend modes in the way I am familiar. Currently, it just seems to change the colour. Is the patch working for you? Ultimately, what I really want to do is create partially transparent type. Like this ...
https://www.pinterest.co.uk/pin/423831014939747101/
https://www.pinterest.co.uk/pin/423831014939747109/
steps to reproduce? you've sent along an archive of 4 patches. i have no idea which one to open or what steps I need take to test the patch.
for proper blending make sure you're set @depth_enable 0 and @blend_enable 1 on your geometry objects. then you can adjust the @blend attribute to set the type of blending you want. additive is a good place to start.
Ah, I was missing the @depth_enable 0. Is there a resources that full explains the relationship between the two numbers that control blend mode?
the blend attribute is a convenience wrapper around blend_mode, but if you want to learn more this article is a good resource - https://learnopengl.com/Advanced-OpenGL/Blending
Thank you.
I have a further issue with this... I can produce multiple iterations of type using the poly~ object & jit.gl.text3d and set individual colours. However, once I apply a texture to one text object, I then have two problems:
1. I can't remove the texture and go back to just a colour - it's stuck there. I can change the texture but not disassociate with that object.
2. All subsequent poly~ iterations no longer respond to the text colour attribute. even though they don't have a texture applied.
I would like to have have a dynamic system where I have a mixture of types - some with textures, some with colours - a kind of moving inDesign. The patch is attached. Hugely appreciative of any help. I also reposted this as a new thread in case you were busy and anyone else knows the answer.
I have solved this my using jit.gl.texture objects in a poly~.