1
0
Fork 0
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:
Alexei Kotov 2023-02-24 19:36:39 +03:00
parent d3eb10fd54
commit e15434be94

View file

@ -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;