I've been learning and writing a number of GLSL shaders. I'm no
expert (yet :) ) -- so maybe this is a big gotcha that I don't know.
I learned by taking the lighthouse toon shader, making it a texture-
toon shader and adding a couple of dim3 specific things. The shader
works perfectly:
That's not normally how I write code though, so I originally did this
which does NOT work. It doesn't put up any errors, but instead seems
to completely ignore the shader. It took me a while, but it's the
return that causes the problem.
Is this just illegal? Note that I get no compile or link errors,
just a ignored shader.
[>] Brian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden