Hi all, trying to get alpha value on a material, on a node, I use mat->getAmbient(osg::Material::FRONT).a()
but mat depends on a picked node, and If I pick somewhere different, sometimes it crashes... I suppose I is a osg::material::face problem. Is there any way to get alpha value (setAlpha() exist but not getAlpha()) without needs to do that ? thanks. Regards, Vincent.
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org