mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
Material fixes
This commit is contained in:
parent
88c81bfb24
commit
fe9a7f12b6
1 changed files with 3 additions and 1 deletions
|
@ -947,9 +947,11 @@ static Ogre::String getMaterial(const Nif::ShapeData *shapedata,
|
|||
boost::hash_combine(h, diffuse.x);
|
||||
boost::hash_combine(h, diffuse.y);
|
||||
boost::hash_combine(h, diffuse.z);
|
||||
boost::hash_combine(h, alpha);
|
||||
boost::hash_combine(h, specular.x);
|
||||
boost::hash_combine(h, specular.y);
|
||||
boost::hash_combine(h, specular.z);
|
||||
boost::hash_combine(h, glossiness);
|
||||
boost::hash_combine(h, emissive.x);
|
||||
boost::hash_combine(h, emissive.y);
|
||||
boost::hash_combine(h, emissive.z);
|
||||
|
@ -1108,7 +1110,7 @@ class NIFObjectLoader : Ogre::ManualResourceLoader
|
|||
const Nif::NiVertexColorProperty *&vertprop,
|
||||
const Nif::NiZBufferProperty *&zprop,
|
||||
const Nif::NiSpecularProperty *&specprop,
|
||||
const Nif::NiWireframeProperty *wireprop)
|
||||
const Nif::NiWireframeProperty *&wireprop)
|
||||
{
|
||||
if(node->parent)
|
||||
getNodeProperties(node->parent, texprop, matprop, alphaprop, vertprop, zprop, specprop, wireprop);
|
||||
|
|
Loading…
Reference in a new issue