Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Songoku

Opengl-shading-language-100

This topic is 5231 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

Ok i have a question. If i want to use an extension, i have to check if my graphicscard does support this extension then i need functionpointers to use the new functions. My question is: Do i need to have for every new funtion which is provided by the vertex_shader-and fragment_shader a pointer. There are so many new functions i cannot believe that this is the only way to use OpenGLSL.

Share this post


Link to post
Share on other sites
Advertisement
in linux/bsd you can staticaly link against libGL.so...
simply append -DGL_GLEXT_PROTOTYPES to your precompiler flags and include GL/glext.h

on windows you''ll have to use functionpointers...

Share this post


Link to post
Share on other sites
check the FAQ in the OpenGL forum, it has infomation on extension loading libraries and one of the ones listed (at least), GLee , has GLSlang support

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!