Jump to content
  • Advertisement
Sign in to follow this  
giugio

OpenGL compile glsl opengl for all gpu

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

Hello.
How i can compile a glsl shader for mantain the compatibility on most gpu under windows 7and vista ?
I used cg in the past , and the cg compiler from nvidia , a command line tool for compile cg shader.
There is some of these utility for glsl?
thanks.

Share this post


Link to post
Share on other sites
Advertisement
Like the man said, it can't be done. The reason why is that each OpenGL vendor implements their own GLSL compiler in the driver, whereas with Cg (or HLSL) the compiler is provided by NVIDIA (or Microsoft) separate to the driver.

Share this post


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

  • 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!