mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-12 22:14:42 +00:00
use the vertex colours that morrowind supplies for a lot of meshes
This commit is contained in:
parent
1776ede9e1
commit
f7b706d24e
@ -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…
x
Reference in New Issue
Block a user