View Full Version : glsl beginner

05-05-2011, 07:10 AM
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?

05-05-2011, 12:03 PM
Why don't you believe in answers you've got at GameDev? ;)

You cannot preserve functionality of the compiled shaders even on the same hardware if the drivers are significantly changed. (I guess you are asking about binary shaders). There are off-line compiling tools for OpenGL ES, but I haven't heard about any desktop version. There are plenty of reasons for that.