<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi Jannik,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">NESTED_RENDER plus a higher renderBin number is exactly the way I've sorted out the issue,</div><div class="gmail_default" style="font-family:tahoma,sans-serif">even though there's no way to use the standard camera draw-callback.</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">So based on your first reply, the POST in-scene camera, if nothing is assigned to its renderTargetImplementation, will render to the default Frame Buffer,</div><div class="gmail_default" style="font-family:tahoma,sans-serif">and that's the reason why nothing shows up in the slave's FBO when its draw is fired from the slave camera, right?</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Ricky</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 5, 2016 at 5:53 PM, Jannik Heller <span dir="ltr"><<a href="mailto:scrawl@baseoftrash.de" target="_blank">scrawl@baseoftrash.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Looking at the OSG code more closely there may be an easier way.<br>
<br>
If you set the Camera's render order to NESTED_RENDER, it *will* inherit the currently used render target.<br>
<br>
Then set a RenderBin number on the camera to make sure it's drawn after the scene. That should do it.<br>
<span class=""><br>
Cheers,<br>
Jannik<br>
<br>
------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=68296#68296" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=68296#<wbr>68296</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</div></div></blockquote></div><br></div>