Really fix detailmap
This commit is contained in:
@@ -805,10 +805,10 @@ void Material::setMaterialProperties(video::SMaterial *m, scene::IMeshBuffer* m
|
||||
if (mb && mb->getVertexType() == video::EVT_2TCOORDS)
|
||||
{
|
||||
m->setTexture(2, m->getTexture(1));
|
||||
m->setTexture(1, glossytex);
|
||||
if (!m->getTexture(2))
|
||||
m->setTexture(2, getUnicolorTexture(SColor(255, 255, 255, 255)));
|
||||
}
|
||||
m->setTexture(1, glossytex);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user