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

Reply via email to