I think we need code and screenshots to understand your problem. 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.
Christian 2017-07-10 9:29 GMT+02:00 Yanwei Guo <expectan...@sina.com>: > Hi, > > 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. > I'm using the osg version 3.2.1. But this problem also exist in the > latest osg-master, which I get from github. > > Thanks for any help! > > Thank you! > > Cheers, > Yanwei > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=71110#71110 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org