views:

315

answers:

1

10 billion kudos for life to anyone who can figure this one out.

Nvidia only provides a standard framework for Cg, which I cannot figure how I can link statically. I need to link it statically because it's for a plugin.

Is there any way at all this can be done?

A: 

You can use Cg compiler to compile the shader to the assembly, and then load the assembly using opengl functions. Then you do not need to have the Cg framework on the system using your application.

VJo