diff --git a/examples/osgdepthshadow/osgdepthshadow.cpp b/examples/osgdepthshadow/osgdepthshadow.cpp index ce0121bc0..020fc2f64 100644 --- a/examples/osgdepthshadow/osgdepthshadow.cpp +++ b/examples/osgdepthshadow/osgdepthshadow.cpp @@ -468,7 +468,7 @@ int main(int argc, char** argv) if (withBaseTexture) { - shadowed_scene->getOrCreateStateSet()->setTextureAttributeAndModes( 0, new osg::Texture2D(osgDB::readImageFile("lz.rgb")), osg::StateAttribute::ON); + shadowed_scene->getOrCreateStateSet()->setTextureAttributeAndModes( 0, new osg::Texture2D(osgDB::readImageFile("Images/lz.rgb")), osg::StateAttribute::ON); shadowedScene = createShadowedScene(shadowed_scene.get(),light_transform.get(),1); } else diff --git a/examples/osgparametric/osgparametric.cpp b/examples/osgparametric/osgparametric.cpp index f56ff88fb..d7868c6f2 100644 --- a/examples/osgparametric/osgparametric.cpp +++ b/examples/osgparametric/osgparametric.cpp @@ -249,7 +249,7 @@ int main(int argc, char *argv[]) std::string shader("simple"); while(arguments.read("-s",shader)) {} - std::string textureFileName("lz.rgb"); + std::string textureFileName("Images/lz.rgb"); while(arguments.read("-t",textureFileName)) {} std::string terrainFileName("");