1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-28 19:15:32 +00:00
openmw-tes3mp/apps/openmw/mwrender/shadow.cpp

12 lines
333 B
C++
Raw Normal View History

#include "shadow.hpp"
namespace MWRender
{
void MWShadow::ViewData::init(MWShadow * st, osgUtil::CullVisitor * cv)
{
LightSpacePerspectiveShadowMapDB::ViewData::init(st, cv);
osg::StateSet * stateset = _camera->getOrCreateStateSet();
stateset->removeAttribute(osg::StateAttribute::CULLFACE);
}
}