Jump to content
  • Advertisement
Sign in to follow this  

Any documentation on Nvidia Cg Geometry Shader

This topic is 4037 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!