Cg shaders

The link to download the Cg Toolkit 1.3 seems to be broken. I was trying to get the Windows version. That and the Cg Users Manual. If anybody has the file and would post it, I’d be very happy !! :slight_smile:

Whoops, the above was me. I wasn’t logged in.


I tried for a week and couldn’t download the linux SDK, ended up
biting the bullet and using CVS to download.

I bet your gonna have to do the same on windows. Sorry, I didn’t get
any of the windows code.


Maybe this is a dumb question, but what is the Cg toolkit?

I presume you mean the one available on NVidia’s site:

It’s a toolkit for developing Cg shaders that can be used in Panda3D.


I was able to download the Cg_Installer.exe, can’t tell you whats in it, cause
I don’t have windows.

The snapshot of the linux SDK, still takes you to a page not found thing,
but at least they fixed the windows one. The CVS thing wasn’t that big
of a pain, I did get the SDK. Their site seems to have “issues”


I know there are fixes to whatever weidrness happens with using Cg on an ATI card using OpenGl. However, I am trying to stay within panda. Anybody have any ideas on how I can fix this wierdenss staying within the Panda API? Ill post an example of what Im trying to do (access a texture) only if people are interested.

looking at the Panda source code, Cg trues to use the best profiles possible. I think it might be a good idea to allow the coder to specify what profile to use do they can assure the compatibility of the shaders they write (and use the default method if they never call the appropiate set method).