Bentley, Tim AMRDEC/Torch wrote:
Unfortunately I need to set the ambient, diffuse, specular, and shininess for each material at each vertex in the model. The "lowest" level I have been able to find that allows me to apply materials in OSG is at the Geometry class, through a StateSet. Is this the case or am I overlooking something?
No you're correct, you can only set material properties like ambient, diffuse, etc. per Drawable through a StateSet.
You could specify those attribs per-vertex but maybe a set of textures is the better choice.
/Ulrich _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
