Changeset 104 for Swollen/swollen/watersurface.cpp
- Timestamp:
- Jun 10, 2005, 5:24:31 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Swollen/swollen/watersurface.cpp
r73 r104 67 67 68 68 osg::TexEnv* texenv = new osg::TexEnv; 69 texenv->setMode( osg::TexEnv::DECAL ); 69 //texenv->setMode( osg::TexEnv::DECAL ); 70 texenv->setMode( osg::TexEnv::BLEND ); 70 71 texenv->setColor( osg::Vec4(0.6f,0.6f,0.6f,0.2f) ); 71 72 _stateset->setTextureAttributeAndModes( 1, texgen, osg::StateAttribute::ON );
Note: See TracChangeset
for help on using the changeset viewer.