handling cg and cgfx

Started by
0 comments, last by supagu 20 years, 7 months ago
I recently got cg working in my engine, and was thinking about implementing my engine so it suports cgfx files, is there some sort of runtime library to help read this file format, and im just wondering how other people have implemented cgfx formats for thier engine. It would be nice to just say for a particular model "load that cgfx file and use it" but can that be done? what about all the parameters and vertex declarations for the shaders?
Advertisement
Again I say...

Why are you using Cg, instead of HLSL?

And look at the D3DX Effects framework. It might do what you want.

I like pie.
[sub]My spoon is too big.[/sub]

This topic is closed to new replies.

Advertisement