mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-28 19:15: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);
|
||
|
}
|
||
|
}
|