Changeset 54
- Timestamp:
- Dec 14, 2004, 1:41:53 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Swollen/swollen/watersurface.cpp
r48 r54 57 57 58 58 osg::AlphaFunc* alphaFunc = new osg::AlphaFunc; 59 alphaFunc->setFunction( osg::AlphaFunc::GEQUAL, _sww->getAlphaThreshold() ); 60 _stateset->setAttributeAndModes( alphaFunc, osg::StateAttribute::ON ); 59 60 //Commented out by OMN 61 //alphaFunc->setFunction( osg::AlphaFunc::GEQUAL, _sww->getAlphaThreshold() ); 62 //_stateset->setAttributeAndModes( alphaFunc, osg::StateAttribute::ON ); 63 61 64 _stateset->setRenderingHint(osg::StateSet::TRANSPARENT_BIN); 62 65
Note: See TracChangeset
for help on using the changeset viewer.