Has anyone gotten familiar with using nVidia's shader language, known as cg? I'm not entirely sure how it works, and how it plugs into the d3d programmable pipeline. Does a compiled cg generate the same binary as a compiled nvasm shader?
The unProfessional
Aug 5 2003, 06:56 PM
Sometimes I wonder if ANYONE in here is even interested in game dev... or just how to chat using their Xbox
unsc1
Aug 5 2003, 09:37 PM
lol i couldnt agree more if i knew more about dev i would join in with all of this but intill i learn i will just have to sit on the sideline
mnemonix
Aug 8 2003, 10:20 PM
You probably can't use Cg on xbox, and you probably don't want to use Cg on the xbox. Some newer sdk versions offer xfxc which is able to compile high level vertex shaders (using hlsl which is uses roughly the same syntax as Cg), it's quite handy
Mage
Aug 8 2003, 10:31 PM
Well a 5 minute check on Nvidia's site and I have your answer:
QUOTE
What platforms does the NVIDIA Cg Compiler support?
Windows (DirectX 8, DirectX 9, OpenGL) Linux (OpenGL) Mac OS X (OpenGL - ARB_vertex_program support) Xbox (through offline compilation of DirectX 8 vertex and pixel shaders)