Hi Lucie.

Not sure about TextureRectangle, but for others you want something like

texture->setNumMipmapLevels(0);
texture->setFilter(osg::Texture::MIN_FILTER , osg::Texture::LINEAR);
texture->setFilter(osg::Texture::MAG_FILTER , osg::Texture::LINEAR);

Cheers,
Sergey.

16.02.2011, 19:57, "lucie lemonnier" <[email protected]>:
> Hi,
>
> How to disable mipmapping on a texture?
>
> Thank you!
>
> Cheers,
> lucie
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=36745#36745
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to