<div dir="ltr">Hi Christoph,<div>I can combine this with a scene that uses shaders without modification. If that's not working for you I don't understand why. </div><div>Using the depth buffer to block further rendering will need the GL_DEPTH_TEST to be active, did that change for your shader/fixed scene?</div><div>Laurens.</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 13, 2018 at 9:59 AM Christoph Dohmen <<a href="mailto:christoph.dohmen@cae.de">christoph.dohmen@cae.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Laurens,<br>
<br>
it's working if I reduce the current drawing sources to fixed function pipeline. But unfortunately we use several shaders. As far as I understand the idea, I will need to access the ColorMask from within the fragment shader, right? Any hints for that or am I totally wrong?<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Christoph<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=74736#74736" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=74736#74736</a><br>
<br>
<br>
<br>
<br>
<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>
</blockquote></div>