Ignore:
Timestamp:
Jun 10, 2005, 5:24:31 PM (19 years ago)
Author:
darran
Message:
  • towards steep culling based on alpha transparency.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Swollen/swollen/watersurface.cpp

    r73 r104  
    6767
    6868    osg::TexEnv* texenv = new osg::TexEnv;
    69     texenv->setMode( osg::TexEnv::DECAL );
     69    //texenv->setMode( osg::TexEnv::DECAL );
     70    texenv->setMode( osg::TexEnv::BLEND );
    7071    texenv->setColor( osg::Vec4(0.6f,0.6f,0.6f,0.2f) );
    7172    _stateset->setTextureAttributeAndModes( 1, texgen, osg::StateAttribute::ON );
Note: See TracChangeset for help on using the changeset viewer.