<div dir="ltr">Try changing the Texure type to Texture2D and the tex coordinates to 0 to 1.0.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 August 2015 at 09:49, Vitaliy Polyakov <span dir="ltr"><<a href="mailto:poljak181@yandex.ru" target="_blank">poljak181@yandex.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
robertosfield wrote:<br>
><br>
> My guess there is a numerical precision issue on the texture coordinates.  Try setting the Texture wrap mode to CLAMP_TO_EDGE, via:<br>
><br>
><br>
>    texture->setWrap(osg::Texture::WRAP_S, osg::Texture::CLAMP_TO_EDGE);<br>
><br>
>    texture->setWrap(osg::Texture::WRAP_T, osg::Texture::CLAMP_TO_EDGE);<br>
><br>
<br>
<br>
</span>It is a good idea! But setting the Texture wrap mode to CLAMP_TO_EDGE doesn't help... Nothing changed.<br>
<span class=""><br>
------------------<br>
Read this topic online here:<br>
</span><a href="http://forum.openscenegraph.org/viewtopic.php?p=64572#64572" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=64572#64572</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">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>
</div></div></blockquote></div><br></div>