Hi David,

There really isn't enough info about your scene graph setup to say
what might be amiss.  My best guess is to check that your texture have
an alpha channel.

Robert.

On Thu, Dec 25, 2008 at 5:53 AM, ZHMW <[email protected]> wrote:
> Hi, Every One.
>     I have a pre render camera in my scene graph. and i have set the clear
> mask by GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT, set the color mask by
> four tures parameters. and the clear color by osg::Vec4(0.0, 0.0, 0.0,
> 0.0)(other clear colors I have tried also);  And then I attach the camera to
> a texture or a image( also have four color channels ).
>
>    Every thing is OK except the result of alpha channel. there is always
> 1.0(It should be 0.0 because of the clear color), I don't know why.
>
>     Merry ChristMas And Happy New Year.
>
> Best Wishes.
> David.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to