Sign in to follow this  
renshao

Any documentation on Nvidia Cg Geometry Shader

Recommended Posts

Hi guys, I'm doing a project with requires to use the recently available Geometry Shader in Geforce 8 series card. I planned to use Cg, and I saw a couple of examples in Nvidia's Cg tookit 2.0, but there are no detailed documentation, does someone know any resources about geometry shader in Cg?

Share this post


Link to post
Share on other sites
If it doesn't have a specific chapter in the Cg manual then I guess you'll have to read the GL specs and guess the corresponding Cg syntax, which isn't so difficult.
GS are similar other shaders after all, this may be the reason for which they lack well-estabilished documentation.

Share this post


Link to post
Share on other sites
ok, the one that I still haven't guessed out it the EndPrimitive() function in GLSL.

There is a emitVertex() in CG, which has a corresponding one in GLSL (EndVertex())

any one know the the corresponding EndPrimitive() in Cg?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this