Hello Vishwa,

Can you please elaborate what you are trying to achieve?
You can set the viewers camera's clear color with an alpha value less than one. (.setClearColor(r,g,b,a)) But I (and possibly others) don't understand what you are trying to do with this, as the background is basically drawn first (i.e. the viewport is set to this color).

cheers
Sebastian
Am 02.06.2012 13:30, schrieb shekhar vishwa:
Hi,
I am using the OSG, but I unable to set the viewport or view backgraund color as transparent.
Please help me to resolve this issue.
Thanks
Vishwa


_______________________________________________
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