Show
Ignore:
Timestamp:
10/17/03 12:22:46 (11 years ago)
Author:
robert
Message:

Adding clamping of the tree textures.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgforest/osgforest.cpp

    r2328 r2379  
    778778     
    779779    osg::Texture2D *tex = new osg::Texture2D; 
     780    tex->setWrap( osg::Texture2D::WRAP_S, osg::Texture2D::CLAMP ); 
     781    tex->setWrap( osg::Texture2D::WRAP_T, osg::Texture2D::CLAMP ); 
    780782    tex->setImage(osgDB::readImageFile("Images/tree0.rgba")); 
    781783