Hi, That's what I do to make things transparent. I would apply the setting to where I apply material of course. I'm not much experienced with materials. There is a common sense that one needs a material to set transparency. But I think it's a common misunderstanding. Choosing the opaque or transparent bin is another issue. You get transparency in both cases; but, if there are more than one transparent face groups intersecting the same line of sight, you need to choose the opaque or transparent for the desired effect. I think somebody with more experience should tell us the theoretical difference between rendering bins.
2008/11/4 Renan Mendes <[EMAIL PROTECTED]> > Hi, Can. > The stateSet whose mode you are setting is from the drawable or the > geode? And how exactly can I do that without destroying my previous > settings? (geode -> getOrCreateStateSet() -> > setAttributeAndModes(this->material.get(), osg::StateAttribute::ON);) > > Thanks again, > > Renan > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org