[osg-users] Render to texture and ClearColor

Robert Osfield robert.osfield at gmail.com
Thu Jul 24 05:16:32 PDT 2008


On Thu, Jul 24, 2008 at 1:05 PM, David _ <solid_davidian at hotmail.com> wrote:
> i guess i spoke too fast. I get transparency no, but it´s not exactly what i
> want
>
> how do i know what kind of FBO i´m using???

You need to spend a bit more time studying the osgprerender* examples,
this will help you.

The pixel format chosen for a pbuffer or FBO will be taken from the
texture you attach. If you use the frame buffer then its format will
be determined by your app when it creates the graphics context.

Robert.



More information about the osg-users mailing list