<div dir="ltr">Try a simple shader then :-)</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 29, 2017 at 10:51 AM, Gianni Ambrosio <span dir="ltr"><<a href="mailto:g.ambrosio+osg@gmail.com" target="_blank">g.ambrosio+osg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Nick<br>
<span class=""><br>
Trajce Nikolov NICK wrote:<br>
> Hi Gianni,<br>
><br>
> you can do something like<br>
> getOrCreateStateSet()-><wbr>setAttributeAndModes(new osg::Depth(osg::Depth::ALWAYS, 0.0, 1.0, false), osg::StateAttribute::ON);<br>
><br>
<br>
</span>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.<br>
<span class=""><br>
Gianni<br>
<br>
------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=70594#70594" rel="noreferrer" target="_blank">http://forum.openscenegraph.<wbr>org/viewtopic.php?p=70594#<wbr>70594</a><br>
<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">trajce nikolov nick<br></div>
</div>