1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-21 18:40:01 +00:00
OpenMW/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);
}
}