<div dir="ltr"><div>Hi.<br></div>Unfortunately, no. If it becomes the bottleneck, I'll definitely have a look at it. But for now it works fine.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-25 23:34 GMT+07:00 Sebastian Messerschmidt <span dir="ltr"><<a href="mailto:sebastian.messerschmidt@gmx.de" target="_blank">sebastian.messerschmidt@gmx.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<br>
<div>Hi Michael,<br>
<br>
Unfortunately this will render the geometry three times. <br>
First shadow map depth pass, Second to create the screenspace
shadow texture and for the RTT again. <br>
Any idea how to prevent the second pass and move it to some later
stage?<br>
<br>
Cheers<span class="HOEnZb"><font color="#888888"><br>
Sebastian <br>
</font></span></div><div><div class="h5">
<blockquote type="cite">
<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="mailto: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="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</div>
<div><br>
</div>
</font></span></div>
</div>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto: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>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
osg-users mailing list
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">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>