Try a simple shader then :-) On Wed, Mar 29, 2017 at 10:51 AM, Gianni Ambrosio <[email protected]> wrote:
> Hi Nick > > Trajce Nikolov NICK wrote: > > Hi Gianni, > > > > you can do something like > > getOrCreateStateSet()->setAttributeAndModes(new > osg::Depth(osg::Depth::ALWAYS, 0.0, 1.0, false), osg::StateAttribute::ON); > > > > I tried the line you suggested with lights on or off but I have in every > case a gray wireframe. While I would like to have a darker/lighter yellow > wireframe on a yellow surface, and a darker/lighter green wireframe on a > green surface. > > Gianni > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=70594#70594 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- trajce nikolov nick
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

