View Full Version : Vertex and fragment shader loading

07-16-2002, 12:03 AM
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 !!


07-17-2002, 01:13 AM
I just saw this http://groups.google.com/groups?dq=&hl=e...oup%3Dcomp.grap (http://groups.google.com/groups?dq=&hl=en&lr=&ie=UTF-8&safe=off&threadm=3D33C5A5.6E200A1B%40glscene.org&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DUTF-8%26safe%3Doff%26group%3Dcomp.grap) hics.api.opengl