Added support for using the new osgShadow plugin as a psuedo loader such that:

osgviewer cow.osg.shadow

Or to ShadowVolume rechnique specifically:

  osgviewer cow.osg.sv.shadow
This commit is contained in:
Robert Osfield
2007-02-15 22:28:32 +00:00
parent 1da57c124f
commit dbb7c3c74c
9 changed files with 204 additions and 19 deletions

View File

@@ -155,6 +155,8 @@ Registry::Registry()
#endif
}
addFileExtensionAlias("shadow", "osgShadow");
addFileExtensionAlias("sgi", "rgb");
addFileExtensionAlias("rgba", "rgb");
addFileExtensionAlias("int", "rgb");