Hello!

I have a Geometry on whose state set I used to set a material that I made shiny 
via osg::Material::setShininess(). The problem is that now I have the need to 
set various colors across the geometry. I tried doing this with the geometry's 
color array, but that approach didn't work unless I stopped setting a material 
on the geometry's state set.

I understand the logic here, that a material should override a color array, but 
I'm curious if there's some other way to make the geometry shiny now that I 
can't set a material on its state set?

I hope my question is clear but please let me know otherwise.

Thank you!

Cheers,
Erik

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=76677#76677





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to