Just use the setUseHardwareMipMapGeneration to the texture object you bind to the FBO
Hi,

I'm using FRAME_BUFFER_OBJECT as render target to render into an FBO.
I would like to generate mipmaps for this FBO...

How can I do this ? Is there any function like "myFBOTexture->buildMipMaps()" 
that I can call in my FBO camera's post-render callback ?

Thank you!

Cheers,
Aurelien

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to