Showing posts with label xcode. Show all posts
Showing posts with label xcode. Show all posts

Thursday, August 27, 2009

Cg shader using XCode

No code to post, I'm just happy that I'm able to load and use a Cg shader and OpenGL from within a project that is using OpenFrameworks under OS X.

Including the Cg framework from within the XCode project and specifying a full path to the Cg program were the tricks. I'd rather specify a relative path to the Cg program, but I would rather be learning Cg.