Changeset 6677
- Timestamp:
- Apr 6, 2010, 3:04:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/overlays/hud/HUDBar.cc
r6417 r6677 77 77 this->textureUnitState_ = material->getTechnique(0)->getPass(0)->createTextureUnitState(); 78 78 this->textureUnitState_->setTextureName("bar2.tga"); 79 this->textureUnitState_->setNumMipmaps(0); 79 80 // use the default colour 80 81 this->textureUnitState_->setColourOperationEx(Ogre::LBX_MODULATE, Ogre::LBS_MANUAL, Ogre::LBS_CURRENT, ColourValue(0.2f, 0.7f, 0.2f));
Note: See TracChangeset
for help on using the changeset viewer.