Hi Marcel,

On 30 May 2013 10:33, Marcel Pursche
<[email protected]> wrote:
> thank you for your help. Using mutliple RTT Cameras worked, but I went back 
> to using just a single one. Executing mutliple read backs per frame had a 
> huge impact on the performance.

My suggested approach of using multiple RTT Camera included the need
for a custom cull callback to determine which Camera to render each
frame, without this you would indeed end up with multiple render/read
backs.

> I just changed inherhitance mask of the read back camera that it doesn't 
> inherit the cull mask. With this setting I can determine the textures for the 
> first layer.
> This solution is not perfect because it doesn't determine all necessary 
> textures, but it looks good enough.

If it works don't knock it :-)

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

Reply via email to