mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 12:23:53 +00:00
use the vertex colours that morrowind supplies for a lot of meshes
This commit is contained in:
parent
1776ede9e1
commit
f7b706d24e
1 changed files with 2 additions and 0 deletions
|
@ -243,6 +243,8 @@ void NIFLoader::createMaterial(const String &name,
|
|||
/*TextureUnitState *txt =*/
|
||||
pass->createTextureUnitState(texName);
|
||||
|
||||
pass->setVertexColourTracking(TVC_DIFFUSE);
|
||||
|
||||
// As of yet UNTESTED code from Chris:
|
||||
/*pass->setTextureFiltering(Ogre::TFO_ANISOTROPIC);
|
||||
pass->setDepthFunction(Ogre::CMPF_LESS_EQUAL);
|
||||
|
|
Loading…
Reference in a new issue