builds on OSX. not tested on OSX evrsion compatible with GLSL 4.1