<br><font size="2"><span style="background-color:rgba(255,255,255,0)">Well you are using a custom shader for the shadows and not the one used internally in osg. So....there might still be an issue with the combination of EffectCompositor and OsgShadow.</span></font><div><font size="2"><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961);"><br></span></font></div><div><font size="2"><span style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.301961);">/Anders<span></span><br></span></font>On Thursday, 25 February 2016, michael kapelko <<a href="mailto:kornerr@gmail.com">kornerr@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi.<br></div>I have the sample that worked just fine: <a href="https://bitbucket.org/kornerr/osg-deferred-shading" target="_blank">https://bitbucket.org/kornerr/osg-deferred-shading</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-25 2:00 GMT+07:00 Anders Backman <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','andersb@cs.umu.se');" target="_blank">andersb@cs.umu.se</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all.<div><br></div><div>Has anyone tested the EffectCompositor together with osgShadows?</div><div><br></div><div>My problem is, that as soon as I add a shadowed scene as a child of an EffectCompositor, the shadows becomes all wrong.</div><div>It looks like the shadow light sources follows the camera, sort of.</div><div><br></div><div>The attached effect (asd.xml) is just a pass-through effect.</div><div><br></div><div>Other than this, is there any other good way of defining post-render effects in OSG these days?</div><div>osgPPU seems to have fallen into sleep, and I cannot see any other good way of constructing this.</div><div>The EffectCompositor really looks great. But...shadows does not work.</div><div><br></div><div>Anyone with insight into this?<span><font color="#888888"><br clear="all"><div><br></div><div><br></div><div>/A</div>-- <br><div>__________________________________________<br>Anders Backman, HPC2N<br>90187 Umeå University, Sweden<br><a href="javascript:_e(%7B%7D,'cvml','anders@cs.umu.se');" target="_blank">anders@cs.umu.se</a> <a href="http://www.hpc2n.umu.se/" target="_blank">http://www.hpc2n.umu.se</a><br>Cell: +46-70-392 64 67</div>
<div><br></div>
</font></span></div></div>
<br>_______________________________________________<br>
osg-users mailing list<br>
<a href="javascript:_e(%7B%7D,'cvml','osg-users@lists.openscenegraph.org');" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br>-- <br>__________________________________________<br>Anders Backman, HPC2N<br>90187 Umeå University, Sweden<br><a href="mailto:anders@cs.umu.se" target="_blank">anders@cs.umu.se</a> <a href="http://www.hpc2n.umu.se/" target="_blank">http://www.hpc2n.umu.se</a><br>Cell: +46-70-392 64 67<br>