|
|
@ -785,6 +785,7 @@ MWShadowTechnique::MWShadowTechnique():
|
|
|
|
_debugHud(nullptr)
|
|
|
|
_debugHud(nullptr)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_shadowRecievingPlaceholderStateSet = new osg::StateSet;
|
|
|
|
_shadowRecievingPlaceholderStateSet = new osg::StateSet;
|
|
|
|
|
|
|
|
mSetDummyStateWhenDisabled = false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
MWShadowTechnique::MWShadowTechnique(const MWShadowTechnique& vdsm, const osg::CopyOp& copyop):
|
|
|
|
MWShadowTechnique::MWShadowTechnique(const MWShadowTechnique& vdsm, const osg::CopyOp& copyop):
|
|
|
@ -792,6 +793,7 @@ MWShadowTechnique::MWShadowTechnique(const MWShadowTechnique& vdsm, const osg::C
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_shadowRecievingPlaceholderStateSet = new osg::StateSet;
|
|
|
|
_shadowRecievingPlaceholderStateSet = new osg::StateSet;
|
|
|
|
_enableShadows = vdsm._enableShadows;
|
|
|
|
_enableShadows = vdsm._enableShadows;
|
|
|
|
|
|
|
|
mSetDummyStateWhenDisabled = vdsm.mSetDummyStateWhenDisabled;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
MWShadowTechnique::~MWShadowTechnique()
|
|
|
|
MWShadowTechnique::~MWShadowTechnique()
|
|
|
|