mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 17:49:55 +00:00
11 lines
333 B
C++
11 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);
|
|
}
|
|
}
|