jit.gl.pix hates spotlights?

pseudostereo's icon

Simply be being present in a patch and being enabled, a barebones jit.gl.pix object seems to stop a jit.gl.light @type spot from functioning.

This is just the tip of the iceberg as far as problems I've been having with jit.gl.pix, materials, lighting, blending - but it's been difficult to isolate each specific problem, because often when I try to recreate the problem as an example outside of the context of an actual project, it simply goes away.

Anyway, this one didn't go away. I would appreciate it if anyone else could corroborate. Or show me where I've gone wrong. Or suggest a workaround.

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

pseudostereo's icon

OK, here's another similar problem. In this patch, jit.gl.pass messes up jit.gl.material even though it's not enabled.

Try toggling the jit.gl.gridshape plane's @blend_enable on and off. Nothing should change but it does.

If you set the jit.gl.pass @drawto to a dummy context, the problem goes away.

Again, corroboration, corrections or workarounds appreciated.

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

Rob Ramirez's icon

strange things indeed.
reproduced and will try and get it figure out.
thanks much for the patches.