Hi,
I have multiple render targets attached to separate color buffers in my
application. One of them is used to store linearized, normalized depth
values as well as absolute depth values and some additional information.
My problem now is that this color buffer should in fact be cleared with
the value 1 for the normalized depth component instead of the background
color component which is set for the viewer camera.
So, is there any (easy?) way to do this? Can i use separate clear colors
for separate color buffers? Would be really important, as I do not
really want to be forced to do a further "normalization" of my buffer
afterwards... ;-)
Thanks!
-Thorsten
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org