diff --git a/examples/osgdepthshadow/osgdepthshadow.cpp b/examples/osgdepthshadow/osgdepthshadow.cpp index 08f5b492b..cc2ff79c4 100644 --- a/examples/osgdepthshadow/osgdepthshadow.cpp +++ b/examples/osgdepthshadow/osgdepthshadow.cpp @@ -372,7 +372,9 @@ int main(int argc, char** argv) return 1; } - ref_ptr scene = new Group; + ref_ptr scene = new MatrixTransform; + scene->setMatrix(osg::Matrix::rotate(osg::DegreesToRadians(125.0),1.0,0.0,0.0)); + ref_ptr shadowed_scene = _create_scene(); if (!shadowed_scene.valid()) return 1; scene->addChild(shadowed_scene.get());