Original Post
ok, i am fumbling through the Cg tut bk and cant find any help
that will answer this qn...
//Cg file
void VertexProgram(Material material,
Light light,
...)
how do u pass a "Material" struct into Cg from C/C++ code?
in short, how do u bind the "Material" parameter so Cg can recognize what it contains.
thx!
Edwinz