Cg is nVidia's portable shading language, supported by OpenGL and D3D.
CodeSampler.com - OpenGL (1.2 - 2.0) game programming samples for Windows
CodSampler's list of OpenGL sample code, including many examples of Cg shaders.
A brief history, description of Cg data types and sample code.
Last update:June 15, 2014 at 10:54:05 UTC