I think if you render to fbo bit depth depends of internal texture format, in case of rendering to framebuffer idk.
Cheers.
04.07.2012, 14:30, "Martin Groer" <Grosser...@gmx.de>:
sourceFormat and sourceType are used if you read back the texture in CPU memory. To ease my debug in gDebugger, I use sourceType=GL_FLOAT
It doesn't change how the fbo works, but I can read floats between 0 and 1 in the debugger.
Regards,
-Fred
----- Mail original -----
De: "Sergey Polischuk" <pol...@yandex.ru>
À: "OpenSceneGraph Users" <osg-...@lists.openscenegraph.org>
Envoyé: Mercredi 4 Juillet 2012 12:57:14
Objet: Re: [osg-users] Render depth into texture with 32 bits