<div dir="ltr"><div><div><br>I think we need code and screenshots to understand your problem.<br><br></div>I don't know about any "Depth" parameter in OpenGL. I know about a polygonOffset that affects rendering order for triangles located at similar Z buffer depths.<br><br></div>Christian<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-07-10 9:29 GMT+02:00 Yanwei Guo <span dir="ltr"><<a href="mailto:expectances@sina.com" target="_blank">expectances@sina.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I meet such a problem. I put some text nodes in the scene. And they are all located on the same plane. I set the 'Depth' in order to control their z-order. The result is right at the fixed pipeline version of osg. But at the programmable pipeline, the result is not always right.<br>
I'm using the osg version 3.2.1. But this problem also exist in the latest osg-master, which I get from github.<br>
<br>
Thanks for any help!<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Yanwei<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=71110#71110" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=71110#<wbr>71110</a><br>
<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>
</blockquote></div><br></div>