Pardon my rudimentary knowlege of these issues, but here is what i understand: nVidia announced Cg a while ago, which is essentially a "C" type programming language for writing pixel shaders. Cg works in OpenGL (not sure about this, help me out) and is Pixel Shader 1.0 compatible. Then with DirectX9, Pixel Shader 2.0 came out, and 2.0 is not compatible with 1.0. Is that right? is Cg good for any Pixel Shader version? I'm confused.
Here is my question. Now, if Cg is a language developed by nVidia, is it proprietary to their hardware? Can Cg instructions be read by other chipsets (the R300 comes to mind) Does ATI have their own language?
If nVidia only supports Cg with their cards, that would be a disaster, much like when many games only supported software or glide. Also, if Cg was only nVidia, it would seem that a lot of programmers wouldn't use it. anybody know?
thanks
Here is my question. Now, if Cg is a language developed by nVidia, is it proprietary to their hardware? Can Cg instructions be read by other chipsets (the R300 comes to mind) Does ATI have their own language?
If nVidia only supports Cg with their cards, that would be a disaster, much like when many games only supported software or glide. Also, if Cg was only nVidia, it would seem that a lot of programmers wouldn't use it. anybody know?
thanks
