Is this the case even when a texture is a bitmap with no alpha data? That's what I want to blend with the alpha colors on the geometry. This is a non-osg question and more of an opengl question I know, but I hope you don't mind.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Wednesday, August 02, 2006 10:15 AM To: osg users Subject: Re: [osg-users] Osg::Geometry colors On 8/2/06, Robert Osfield <[EMAIL PROTECTED]> wrote: > As I said, just attach an osg::AlphaFunc to the subgraph in question, > it'll solve the problem. Appologies getting confused between various threads. The alpha values on a colour array will have an effect on final output, but only if you don't disable it via osg::Material, or via TexEnv. You need to read up on OpenGL w.r.t materials glMaterial and glTexEnv, the OSG just does a pass along. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
