mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-25 04:11:33 +00:00
Disable falloff in BSEffectShader for now
This commit is contained in:
parent
d3eb10fd54
commit
e15434be94
1 changed files with 1 additions and 1 deletions
|
@ -2247,7 +2247,7 @@ namespace NifOsg
|
||||||
stateset->setTextureAttributeAndModes(texUnit, texMat, osg::StateAttribute::ON);
|
stateset->setTextureAttributeAndModes(texUnit, texMat, osg::StateAttribute::ON);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stateset->addUniform(new osg::Uniform("useFalloff", true)); // Should use the shader flag
|
stateset->addUniform(new osg::Uniform("useFalloff", false)); // Should use the shader flag
|
||||||
stateset->addUniform(new osg::Uniform("falloffParams", texprop->mFalloffParams));
|
stateset->addUniform(new osg::Uniform("falloffParams", texprop->mFalloffParams));
|
||||||
handleTextureControllers(texprop, composite, imageManager, stateset, animflags);
|
handleTextureControllers(texprop, composite, imageManager, stateset, animflags);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue