c3099023++at++tees.ac.uk
Date: 07/13/2004 04:48:07
Hey,
>
> also, is it ok to use the Cg runtime library with Performer, or should i
> precompile the shaders and inline the code?
Don't use the Cg runtime. The compiler is a separate program. You need to
set in your makefiles an extra step.
Just do something like cgc -profile arbvp1 or whatever to generate
assembler code. You can load that assembler in Performer using
gProgram->loadProgram( ... ).
Cheers,
Goncalo
This archive was generated by hypermail 2b29 : Tue Jul 13 2004 - 03:50:30 PDT