Hi Vincent,

you have to set alpha to 0.0 for transparent pixels. Check if your RTT texture 
has the right format. In my case setting setClearColor(osg::Vec4(0., 0., 0., 
0.));  on the rendering camera always works. 
Check if there are no slave camera which can overwrite the settings. Check also 
if you can really see the background, maybe there are no background pixels at 
all (I mean maybe they are overwritten by some black geometry or so).
And finally check also if your image editing program do shows the alpha channel 
correctly (just for the case). I use gimp for that case.

regards,
art

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





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

Reply via email to