Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 2870


Ignore:
Timestamp:
Mar 30, 2009, 11:35:53 PM (15 years ago)
Author:
bknecht
Message:

additional commentary to my last commit. maybe useful in the future, maybe useless as we already solved that issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/tools/Mesh.cc

    r2867 r2870  
    7070                this->entity_ = this->scenemanager_->createEntity("Mesh" + convertToString(Mesh::meshCounter_s++), meshsource);
    7171                this->entity_->setCastShadows(this->bCastShadows_);
     72
    7273                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                */
    7381            }
    7482            catch (...)
Note: See TracChangeset for help on using the changeset viewer.