I am using Cg in OpenGL. Can I get the exact position (what line in the code) of the errors that the compiler generates? I know it is possible in D3D, but in OpenGL I don't get any further information but the fact that "The compiler returned an error".
Re: Cg Compiler
Yes you can do this and I have setup my Cg programs to do this. I dont know the exact url but somewhere in http://www.cgshaders.org there is a link to a tutorial page that shows how to setup the Cg compiler in your program to do this.