GLSL Shading Language for my opengl 3.1 any?
is there any glsl for my opengl 3.1? i searched in google and no luck all different versions cause when i use different versions it creates syntax errors.
also if i do :
is it for the other versions?
so if i got the glsl for my 3.1 what version do i put?
If memory serves, you want GLSL version 1.4 to get the absolute latest for that OpenGL version, so use #version 140.
Originally Posted by FinkPotato
OpenGL 3.3 was when they started syncing up the GL and GLSL version numbers IIRC (3.3 -> #version 330, 4.0 -> #version 400, etc.) Before that the correspondence was a bit odd (3.2 -> 1.5 == #version 150, 3.1 -> #version 140, etc.)
So pls can I have a link to the 1.4 cause I just searched for a long time but no luck
It's on opengl.org, right next to all of the other specifications:
there all different versions and no downloads.i want 1.4
You don't download OpenGL versions. You just install your graphics card's drivers.