mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-20 15:40:32 +00:00
12 lines
333 B
C++
12 lines
333 B
C++
#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);
|
|
}
|
|
}
|