mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
shadervisitor.cpp
This commit is contained in:
parent
6d12a240a3
commit
3415f12e12
@ -458,6 +458,9 @@ namespace Shader
|
||||
defineMap[texIt->second + std::string("UV")] = std::to_string(texIt->first);
|
||||
}
|
||||
|
||||
if (defineMap["diffuseMap"] == 0)
|
||||
writableStateSet->addUniform(new osg::Uniform("useDiffuseMapForShadowAlpha", false));
|
||||
|
||||
defineMap["parallax"] = reqs.mNormalHeight ? "1" : "0";
|
||||
|
||||
writableStateSet->addUniform(new osg::Uniform("colorMode", reqs.mColorMode));
|
||||
|
Loading…
Reference in New Issue
Block a user