View Full Version : how to know which shader version is?

11-19-2005, 09:55 AM
I have some shaders that I'd like to know which version are they using of vertex and pixel shader how can I know this? The guys who made the shaders were not kind enough to write this on a comment so what can I do to know if its 2.0 or 3.0 or older?

11-21-2005, 03:39 AM

I think glgetstring(gl_xxx) is what you are looking for.

cheers Boim