Try changing the Texure type to Texture2D and the tex coordinates to 0 to
1.0.

On 3 August 2015 at 09:49, Vitaliy Polyakov <poljak...@yandex.ru> wrote:

>
> robertosfield wrote:
> >
> > My guess there is a numerical precision issue on the texture
> coordinates.  Try setting the Texture wrap mode to CLAMP_TO_EDGE, via:
> >
> >
> >    texture->setWrap(osg::Texture::WRAP_S, osg::Texture::CLAMP_TO_EDGE);
> >
> >    texture->setWrap(osg::Texture::WRAP_T, osg::Texture::CLAMP_TO_EDGE);
> >
>
>
> It is a good idea! But setting the Texture wrap mode to CLAMP_TO_EDGE
> doesn't help... Nothing changed.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=64572#64572
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to