Hi Alessandro,
OpenSceneGraph has support for the
GL_APPLE_texture_2D_limited_npot-extension, make sure to get the
texture-parameters right.
Be sure to set the min and mag-filter to GL_NEAREST. I can't test it
right now, but I had it working in the past.
cheers,
Stephan
Am 06.04.13 09:37, schrieb Alessandro Terenzi:
As far as I know, if we want to use NPOT textures on iOS (specifically using GLES 1.x
APIs) we have to use a subload callback. No problem with this, but I've also found that
many developers suggest to use a specific extension created by Apple itself that should
allow the usage of such textures by simply setting the wrap mode to
"CLAMP_TO_EDGE".
I tired this other approach with OSG, but it seems not to work...is there
something else (beyond setting the wrap modes) that must be done in order to
use that extension? Anyone managed to use it successfully?
The extension should be called "GL_APPLE_texture_2D_limited_npot".
Thanks.
Alessandro
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=53474#53474
_______________________________________________
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