Hi,

I create osgppu pipeline with a prerender camera as input. The pipeline working 
fine but only one issue, the output unit. If I let outputUnit to render to 
framebuffer, it will cover all the scene ( I mean the rendering scene from main 
camera). I try to use UnitInOut to output PPU's rendering result as a texture 
and apply then mix the texture with main Camera's rendering. But so far not 
working. Here is what I did: 
 create osg texture, 
 assign texture to UnitInOut with setOutputTexture(). 
 apply texture to main camera with shader. 

So far this way not working. 

Any idea how to get output texture from ppu's pipeline? 

Thank you!

Cheers,
Huiliang

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=27037#27037





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to