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
3415f12e12
commit
2cebd19432
@ -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 New Issue
Block a user