Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

GLSL versions differences at a glance?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 vladic2000x   Members   -  Reputation: 248

Like
0Likes
Like

Posted 19 December 2012 - 11:44 AM

Hi there, so I've been doing a little HLSL prrogramming with DirectX in recent years and now I'm trying the GLSL with OpenGL. One thing that strikes from the very beginning, is that I cannot find a decent description of the differences between the various versions of GLSL. As an example, the HLSL differences are laid out simply here:

http://en.wikipedia.org/wiki/High_Level_Shader_Language#Pixel_shader_comparison

Now when I try to google the same for GLSL, I just can't find a simple and understandable description of what are the limits of each version of GLSL and what new features have been introduced to each version. Does anybody has this information in a simply and easy to read layout? Also does anybody know what GLSL versions are on par with what HLSL version?

Thanks!

Sponsor:

#2 max343   Members   -  Reputation: 336

Like
0Likes
Like

Posted 19 December 2012 - 06:47 PM

Generally, GLSL 330 is on par with SM4 (maybe even 4_1, don't remember exactly), 420 is on par with SM5, while 430 is on par with SM5 including 11.1 features.

#3 TheChubu   Members   -  Reputation: 1174

Like
0Likes
Like

Posted 19 December 2012 - 07:26 PM

You have all sorts of information about OpenGL API and GLSL in OpenGL.org site.

http://www.opengl.org/documentation/glsl/

You can download the specs for every OpenGL version and check its "changes" sections, among other things.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS