Revert "Improve swizzle of splatting"

This reverts commit 98ca75c34d.
This commit is contained in:
vlj 2014-09-21 04:10:51 +02:00
parent 98ca75c34d
commit 97ea994c6a
2 changed files with 2 additions and 2 deletions

View File

@ -749,7 +749,7 @@ void Material::setMaterialProperties(video::SMaterial *m, scene::IMeshBuffer* m
tex = irr_driver->getTexture(m_splatting_texture_4);
}
m->setTexture(5, tex);
// m->setTexture(6, glossytex);
m->setTexture(6, glossytex);
// Material and shaders
m->MaterialType = irr_driver->getShader(ES_SPLATTING);

View File

@ -213,7 +213,7 @@ struct SplattingMat
};
const std::vector<size_t> SplattingMat::FirstPassTextures = { 1 };
const std::vector<size_t> SplattingMat::SecondPassTextures = { 2, 1, 3, 4, 5};
const std::vector<size_t> SplattingMat::SecondPassTextures = { 1, 2, 3, 4, 0 };
namespace RenderGeometry
{