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

Reply via email to