我正在努力学习本教程(http://neokabuto.blogspot.com/2013/03/opentk-tutorial-2-drawing-triangle.html)在lubuntu 14.04.1笔记本电脑工作站上使用monodedevelop。执行程序时,我得到
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
所以我有点不知所措。感谢您提前提供的帮助。
我遇到了同样的问题(ubuntu 14.10),我通过进入着色器文件并更改显示的行来修复它
版本330
至