Hi Shekhar,

On 2 June 2012 12:30, shekhar vishwa <[email protected]> wrote:
> I am using the OSG, but I unable to set the viewport or view backgraund
> color as transparent.

Do you actually mean that you want it completely transparent? As in
disable the clear of the colour buffer completely?  If so then use the
Camera's ClearMask property set to GL_DEPTH_BUFFER_BIT rather than the
normal default of GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT

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

Reply via email to