Hi you can get it drawn to texture in 32bit per channel, but what you see on screen is 8bit\channel max.
Cheers. 11.02.2013, 05:00, "Peterakos" <[email protected]>: > Hello. > > I use a shader to write the depth value of a model as color in screen > using gl_FragColor = vec4(depth, depth, depth , 1). > But it seems it renders the model with only 8-bit per channel precision. > > Can i change that behavior of the main camera (to 32-bit per channel)? > > thnx. > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

