Hi,

I am attempting to do something very simple:

I want to set the background color of my scene completely transparent. Posts 
and example code instruct to set the clear of the color of the Camera to RGBA = 
[0, 0, 0, 0], thusly:


Code:

osg::Camera* c = viewer->getCamera();
c->setClearColor(osg::Vec4(0., 0., 0., 0.));




However the above code just sets the background color of the scene to pure 
black.

Is there something i'm missing, configuration wise, with the viewer traits?

Thank you!

Cheers,
Colin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27645#27645





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to