Mark Alexander <malex...@...>
There is a const qualifier in GLSL, and it should work on other
platforms without issue. The difference may be that OSX only supports
GLSL 1.20 currently, which is far behind most of NVidia's and ATI's
OpenGL implementations (GLSL 1.50 at least, more likely 3.30/4.10).
Perhaps this is the reason 'const' is required. Having a shader
compile across multiple GLSL versions and drivers can be tricky, and
I've run into a lot of issues on OSX that are simply GL version
On Jan 16, 11:39 pm, Malcolm Humphreys <malcolmh...@...>
Is the 'const' qualifier in glsl? I have to change the following to get the glsl shader to compile on OSX.