-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
switch GLSL to version 1.40 #2
Comments
Thanks for the feedback. My shaders aren't advanced so there's probably not an issues with that strategy — I might even try to downgrade the whole thing to Qt 4.8 and forgo the Qt5 OpenGL bindings that I fought to keep around! |
Hi Graham, Qt5 is perfectly OK with me. Among countless goodies, Qt5 works on As for the shaders, I've changed GLSL version to '140' locally and now On Wed, 12 Feb, 2014 at 2:21 PM, Graham Rowlands
|
I can change the context to 3.1 without issue. My setup complains about the "inverse" function not being included in the GLSL 1.4 spec (contrary to the actual spec.) I have to include an extension to get it to work (at least the GLSL compiler was helpful in suggesting this!) #version 140 It seems like this is more individualized than I'd like it to be... |
OpenGL 3.3 is not yet supported by the majority of the open-source drivers, e.g. i915. So, for the greater compatibility reason, it would be nice to switch from GLSL 3.30 (OpenGL 3.3) to GLSL 1.40 (OpenGL 3.1). Perhaps change OpenGL context type to OpenGL 3.1 as well (not sure how Qt handles this).
The text was updated successfully, but these errors were encountered: