PDA

View Full Version : How to set GLSL version?



rainbowgoblin
1st May 2014, 04:09
I'm trying to write a shader in a derived QGLWidget class, and I'd like to use GLSL 3.30, but I can't seem to use anything more recent than 1.30. I found this thread:
http://www.qtcentre.org/threads/37142-How-to-check-or-set-GLSL-version

And was able to check my GLSL version, so I know it's 1.30. Using Qt 4.8, I'm able to use OpenGL version 3.3. Is it possible to set the GLSL version as well?