mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 23:39:43 +00:00
shadervisitor.cpp
This commit is contained in:
parent
3415f12e12
commit
2cebd19432
1 changed files with 1 additions and 1 deletions
|
@ -458,7 +458,7 @@ namespace Shader
|
|||
defineMap[texIt->second + std::string("UV")] = std::to_string(texIt->first);
|
||||
}
|
||||
|
||||
if (defineMap["diffuseMap"] == 0)
|
||||
if (defineMap["diffuseMap"] == "0")
|
||||
writableStateSet->addUniform(new osg::Uniform("useDiffuseMapForShadowAlpha", false));
|
||||
|
||||
defineMap["parallax"] = reqs.mNormalHeight ? "1" : "0";
|
||||
|
|
Loading…
Reference in a new issue