Hi,

I need to detach and attach textures to an osg::FrameBufferObject in order to 
perform multiple drawings. Afaik there is only a method for attaching called 
"setAttachment()". 
I wonder why there is not one for detaching. How am I able to detach a texture?

In OpenGL I could just pass 0 as textureId to glFramebufferTexture2DEXT() for 
detaching.

Do I have to create a new FrameBufferAttachement-Object and set a certain 
parameter to 0 and call setAttachement with this object as a parameter again?

Thank you!

Cheers,
Gottfried

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





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

Reply via email to