View Full Version : library to generate ati+ nvidia specific shader stuff

09-15-2003, 04:16 AM
Is there some sort of library available so that I can write an app which uses pixel shaders, and then the lib generates the card specific cruft for each vendor so that both are supported?

09-15-2003, 06:44 AM
nVidia's Cg can do this job. As soon as GLslang will be here, then it will do that.

09-15-2003, 10:17 AM
Cg doesn't have an ATI_fragment_shader profile and isn't looking like getting one any time soon.

There's currently no portable way to write fragment shaders for the R200/NV2x tech level.

09-15-2003, 12:07 PM
I was thinking at just ARB_v_p + ARB_f_p.

09-15-2003, 12:54 PM
Of course your statement is correct for ARB_fp/ARB_vp http://www.opengl.org/discussion_boards/ubb/smile.gif
I just wanted to mention it, not everyone (... you'd like to give your programs to) has ARB_fp capable hardware http://www.opengl.org/discussion_boards/ubb/smile.gif