neil.hug...@tesco.net schrieb: > Hi All, > > Please find attached a png file that has a purple circle, black boarder, and > an alpha channel. I'm using OSG1.2, and trying to read it in via the png > pluggin, and apply it to an object. The PNG loads, but the alpha channel is > being ignored, and I get solid white instead of the underlying object > color/texture. > > Please could someone tell me is there something wrong with the png file, the > reader, or am I doing something that's not possible. > > Many thanks for any help.
there was no attachment. Have you enabled GL_BLEND for your geometry? node->getOrCreateStateSet()->setMode(GL_BLEND, osg::StateAttribute::ON); cheers, Stephan _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org