Show
Ignore:
Timestamp:
11/01/04 17:16:31 (10 years ago)
Author:
robert
Message:

Commented out settings of TexEnvCombine? alpha values

Files:
1 modified

Legend:

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

    r3563 r3566  
    569569            texenv->setSource2_RGB(osg::TexEnvCombine::PRIMARY_COLOR); 
    570570            texenv->setOperand2_RGB(osg::TexEnvCombine::SRC_COLOR); 
    571 /* 
    572             texenv->setCombine_Alpha(osg::TexEnvCombine::INTERPOLATE); 
    573             texenv->setSource0_Alpha(osg::TexEnvCombine::PREVIOUS); 
    574             texenv->setOperand0_Alpha(osg::TexEnvCombine::SRC_ALPHA); 
    575             texenv->setSource1_Alpha(osg::TexEnvCombine::TEXTURE); 
    576             texenv->setOperand1_Alpha(osg::TexEnvCombine::ONE_MINUS_SRC_ALPHA); 
    577             texenv->setSource2_RGB(osg::TexEnvCombine::PRIMARY_COLOR); 
    578             texenv->setOperand2_RGB(osg::TexEnvCombine::SRC_ALPHA); 
    579 */ 
     571 
    580572            stateset->setTextureAttribute( 1, texenv ); 
    581573            stateset->setTextureAttributeAndModes( 1, new osg::Texture2D( image ), osg::StateAttribute::ON );