i need to render a texture and perform various operations on it using cg fragment shaders. in some cases i need to apply two effects, so i have to render once, glcopytexsubimage, render again. if i got things right, using CgFX i can directly render in multiple passes with losing time with copying. is this correct?
if yes, does anyone of you know of a CgFX tutorial for opengl? or at least CgFX reference - the nvidia cg toolkit doesnt seem to have one and i couldnt find anything anywhere else.
thanks a lot,