Vertex and fragment shader loading

Has anyone example code for initializing both shaders with the according programs? My problem is that ‘cgAddProgram(…,…, cgVertexProfile, NULL)’ works, but what about loading a fragment program??
Thanks for any help !!

Christian

I just saw this http://groups.google.com/groups?dq=&hl=e…oup%3Dcomp.grap hics.api.opengl

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.