Hi Stephan,
On 6/12/07, Stephan Maximilian Huber <[EMAIL PROTECTED]> wrote:
martin.lavery schrieb:
I added CLAMP_TO_EDGE in my own code and the cube maps worked on OSX and
windows for me.
_cubetex->setWrap(osg::Texture::WRAP_S, osg::Texture::CLAMP_TO_EDGE);
_cubetex->setWrap(osg::Texture::WRAP_T, osg::Texture::CLAMP_TO_EDGE);
_cubetex->setWrap(osg::Texture::WRAP_R, osg::Texture::CLAMP_TO_EDGE);
Martin has just tried this and it has no effect.
I wouldn't expect it to have any effect either, a cubemap shouldn't
have an edge as such, as the neighbouring faces should provide the
next value.
Robert.
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/