i have trouble with the shader patch ‘gn.gloop.jxs-help.maxpat’ from the
‘slab helpers folder’. I get the error message:
jit.gl.shader: unable to bind GLSL uniform param: ‘tex0’
I’ve tried adding a jit.gl.texture to the patc, prepending the data from the
matrix that arrives at the slab with jit_gl_texture,and using a jit.bfg to
initiate some data, but still nothing. I see that the shader file has a
variable for a texture unit but am not sure how I should bind a texture to
Actually, i’ve just been looking at some of the other gen.* shader files and
seem to have a problem with a few of them. I suspect that this may be an
issue with my graphics card. I can’t get the antialias shaders to work
(blend mode is enabled, if that makes a difference). Also the spiderweb and
cross tile files don’t work correctly. Does anyone have any ideas?
i’m on a mac G4 powerbook OSX 10.4.11 with a radeon 9700 card.
The way this shader works is that it doesn’t really do any texture
lookup. It just does a calculation based on the texture coordinates and
generates texel values. So, the tex0 error should be harmless. If you
aren’t seeing anything in the GL window, that would indicate that your
9700 mobility card is choking on this shader. It wouldn’t be the first
time (see discussions of the td.rota.jxs shader). It seems that the
9700 has pretty strict limitations on the amount of math it’s willing to
do in one fragment shader.