Help - Search - Members - Calendar
Full Version: Nvidia's Cg Language
Scenyx Entertainment Community > Xbox1 Forums > Software Forums > Development
The unProfessional
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
Sometimes I wonder if ANYONE in here is even interested in game dev... or just how to chat using their Xbox cool.gif
unsc1
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 sad.gif
mnemonix
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 smile.gif
Mage
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)


cg_faq

It works on xbox, now if you're more interested in using it, I suggest you download it from their site and read what they have to say on it. beerchug.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.