我正在尝试 在使用 monodevelop 的 lubuntu 14.04.1 笔记本电脑工作站上遵循本教程( http://neokabuto.blogspot.com/2013/03/opentk-tutorial-2-drawing-triangle.html )。执行程序时,我得到
GLSL 3.30 is not supported. Supported versions are 1.10, 1.20, 1.30, and 1.00 E
通过大量研究并在 ubuntu 论坛上提问,我最终发现我的笔记本电脑确实(似乎)包含 GLSL 3.30,如下所示:
glxinfo | grep version
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.6.0-devel (git-345e8cc 2015-02-08 trusty-oibaf-ppa)
OpenGL core profile shading language version string: 3.30
OpenGL version string: 3.0 Mesa 10.6.0-devel (git-345e8cc 2015-02-08 trusty-oibaf-ppa)
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.6.0-devel (git-345e8cc 2015-02-08 trusty-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
所以我比较茫然。我在这里先向您的帮助表示感谢。