1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-30 01:36:45 +00:00

Disable culling of ClipNode

This commit is contained in:
scrawl 2015-11-20 02:22:37 +01:00
parent cbf344663f
commit 706b1d4c28

View file

@ -198,6 +198,7 @@ public:
mClipNode->getClipPlaneList().clear();
mClipNode->addClipPlane(new osg::ClipPlane(0, osg::Plane(mPlane.getNormal(), 0))); // mPlane.d() applied in FlipCallback
mClipNode->setStateSetModes(*getOrCreateStateSet(), osg::StateAttribute::ON);
mClipNode->setCullingActive(false);
}
private: