[osg-users] fixed size texture

Vitaliy Polyakov poljak181 at yandex.ru
Mon Aug 3 01:49:34 PDT 2015


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








More information about the osg-users mailing list