Weird texture behaviour with [jit.gl.multiple]

dangdong27's icon

Hello, fellow patchers.

I am having some issues with multiple textures on jit.gl.multiple and I hoped someone could give me a hint what I'm doing wrong?

In short: My objects (gl.gridhape x gl.multiple) seem to disappear if I do not! set one of the jit.gl.texture object's apply attribute to "decal".
The rest of them is set to modulate, which is what I want because of the alpha channel.

This seems to have something to do with the jit.gl.multiple object..? And oddly enough it has to be a specific instance of the texture objects which has to be set to "decal".

Please have a look at the patch, one GL-rendered scenery can sometimes tell you more then a 1000 words.

Thank you! I appreciate it.

Attached are also some textures.
Just point the patch there by clicking on the bang.

Max Patch
Copy patch and select New From Clipboard in Max.

3055.Textures.zip
zip
Wesley Smith's icon

I see what you're talking about. It will take me a while to dig into this and figure out what's going on. I'll post back when I do.

dangdong27's icon

That is awesome. Thank you so much!

Wesley Smith's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I'm still not exactly sure what was going on in your patch, but here's one that seems to work just fine. You'll have to change the folder/prefix of the umenu to reflect the path of the texture images for it to work.

dangdong27's icon

Great!

Thanks for your help/time.