[osg-users] fixed size texture

Robert Osfield robert.osfield at gmail.com
Mon Aug 3 04:00:07 PDT 2015


It may be worth trying different hardware.

On 3 August 2015 at 11:48, Vitaliy Polyakov <poljak181 at yandex.ru> wrote:

>
> robertosfield wrote:
> > My best guess is that the hardware is rounding down the tex coords when
> sampling the texture so that it's not always picking out the right hand set
> of pixels due to numerical precision issues.  Try setting the Border of the
> osg::Texture2D::setBorderColor(Vec4(r,g,b,a)); and set the wrap mode to
> CLAMP_TO_BORDER.
> >
>
>
> Unfortunately, no effect.
> Now I trying to use specific vertex shader for correct tex coord rounding.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=64579#64579
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150803/8c4daf3f/attachment-0003.htm>


More information about the osg-users mailing list