jit.gl.tf not binding with bit.gl.mesh and more bugs
Hey gang. I need a little insight and hive mind-debugging.
My jitter/gen skills aren't very advanced but I've plunged into recreating a patch that enables an image to be recreated as a particle system and then controlled by x/y data from the mouse's position within the 'world' window (shout out to sensei Federico Foderaro).
I have a few bugs that prevent the information from the buffers to pass through and enable the feedback.
I have four [buffer]'s that go into a [jit.gl.tf] that's connected to a [jit.gl.mesh].
When [jit.world] is enabled, [jit.gl.tf] refuses to be enabled, and its' data isn't passed on to [jit.gl.mesh]. This means that the particle systems remains unreactive to the x/y-mouse data input.
Everything up to this point works fine.
Below is an image of the part of the patch that I'm referring to.
Hope this is an adequate explanation of the problem!
Thnx
Ps. The double 'enabling' thing I have going on was simply to check if the jit.gl.tf was receiving the message.

if jit.gl.tf won't enable it usually means there is an error in the patch or the shader. you will have to send me both files if you want help debugging.
so the issues were all related to improper XML formatting in you JXS shader. this stuff is tricky and annoying I know, but fortunately in this case the Max console error messages tell you exactly which line the problem occurs (or at least near which line to look).
I've attached a fixed shader, but I also made a little screen recording of how I debugged the shader using the console error messages, so hopefully you can fish a little for yourself next time. I should note that when the errors are in the GLSL code instead of the XML, then finding the exact location of the error takes some practice, but good habits to develop as a jitter programmer.
Hi Rob. Wow, this is incredible! Yeah, it's my first attempt at actually coding this way so if GLSL only adds onto the trickery there's no wonder I got so lost! Thanks for the tips. I'll up my XML formatting game ;)
Truly appreciate it! Happy holidays.