martin.lavery schrieb:
Hi all,

I have been coming across a problem with using cub mapping. When using the cube under MacOS 10.4.9 we seem to the see the edges of the cube map, i have attached a screen shot showing the problem.
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);

perhaps that's the reason for your problem

HTH,
Stephan
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to