handling cg and cgfx
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?
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.
Why are you using Cg, instead of HLSL?
And look at the D3DX Effects framework. It might do what you want.
I like pie.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement