Welcome to E-Books Directory
This is a freely downloadable e-book.
Read this book online or download it here for free
Publisher: Wikibooks 2013
Nvidia's programming language Cg (C for graphics) is one of several commonly used shading languages for real-time rendering (other examples are Direct3D's HLSL and OpenGL's GLSL). These shading languages are used to program shaders (i.e. more or less small programs) that are executed on a GPU (graphics processing unit), i.e. the processor of the graphics system of a computer - as opposed to the CPU (central processing unit) of a computer.