Changeset 2870 for code/trunk/src/orxonox
- Timestamp:
- Mar 30, 2009, 11:35:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/tools/Mesh.cc
r2867 r2870 70 70 this->entity_ = this->scenemanager_->createEntity("Mesh" + convertToString(Mesh::meshCounter_s++), meshsource); 71 71 this->entity_->setCastShadows(this->bCastShadows_); 72 72 73 this->entity_->setNormaliseNormals(true); 74 /* 75 Excerpt from Ogre forum: 76 "Note that the above is only for the fixed function pipeline. 77 If/when you get into shaders, you'll need to manually normalize() the normal inside the vertex or pixel shader." 78 79 I don't know exactly what this means, but I put this here if there will be problems with shaders. 80 */ 73 81 } 74 82 catch (...)
Note: See TracChangeset
for help on using the changeset viewer.