I am working on osgPPU but there are some things i haven't completely
I add 2 children in root's group.
A cow model and the osgPPU::Processor.
In processor i have added 1 child which outputs the depth buffer and under
that child i have added 1 child which outputs to frame buffer.
I have noticed that the order of
doesnt matter and i am wondering why.
UnitCameraAttachmentBypass needs the depth buffer which is taken from
camera. But if ppu is rendered first (as first child) there will be no
depth buffer to output
to frame buffer (through UnitCameraAttachmentBypass's child, which is
Why is this happening ? do i miss something?
The scene graph is the following
UnitCameraAttachmentBypass (outputs Depth)
Thank you for your time.
osg-users mailing list