Set the CullSettings::InhertianceMask to 0x0 as temporary measure till we

work out the best scheme to use w.r.t inhertiance of CullSettins.
This commit is contained in:
Robert Osfield
2008-03-18 17:44:21 +00:00
parent 450d5e5615
commit 945846a3ed
4 changed files with 9 additions and 1 deletions

View File

@@ -56,6 +56,8 @@ void ShadowTexture::init()
// create the camera
_camera = new osg::Camera;
// _camera->setInheritanceMask(0x0);
_camera->setClearColor(osg::Vec4(1.0f,1.0f,1.0f,1.0f));
_camera->setCullCallback(new CameraCullCallback(this));