Some Tips
¡Check for errors!
lCgErrorException.checkCgError();
lDebug output in shaders
lNormals, incident directions, different terms in BRDFs, etc.
¡Can compile .cg programs
lcgc –profile vp20 –entry (function name) Program.cg