• Advertisement
Sign in to follow this  

Shader version

This topic is 4233 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! How can I detect the highest supported vertex and pixel shader version? Thanks in advance! rgds

Share this post


Link to post
Share on other sites
Advertisement
ARB_shading_language_100 is part of the old extensions for GLSL
You can ignore it because GLSL is now part of the core.
It's version is 1.10 for the moment
Use glGetString(GL_SHADING_LANGUAGE_VERSION)

If you want to determine if you have SM 2.0 or SM 3.0 hardware, there is a dirty way to do it.

Shading languages: How to detect shader model?
http://www.opengl.org/wiki/index.php/Shading_languages

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement