CgFX is a dialect of the Cg language (C for Graphics) invented by NVIDIA for programming the so-called hardware shaders. In this article Xbitlabs will take a closer look at this language and will try to reveal its advantages with the help of 3d studio max graphics package.