Added StandardShadowMap to list to test cases

This commit is contained in:
Robert Osfield 2008-12-19 12:28:53 +00:00
parent 75bd8e9a1e
commit 74d090845f

View File

@ -42,6 +42,7 @@
#include <osgShadow/SoftShadowMap>
#include <osgShadow/ParallelSplitShadowMap>
#include <osgShadow/LightSpacePerspectiveShadowMap>
#include <osgShadow/StandardShadowMap>
#include <osgDB/ReadFile>
#include <osgDB/WriteFile>
@ -614,6 +615,11 @@ int main(int argc, char** argv)
osg::ref_ptr<osgShadow::ShadowTexture> st = new osgShadow::ShadowTexture;
shadowedScene->setShadowTechnique(st.get());
}
else if (arguments.read("--stsm"))
{
osg::ref_ptr<osgShadow::StandardShadowMap> st = new osgShadow::StandardShadowMap;
shadowedScene->setShadowTechnique(st.get());
}
else if (arguments.read("--pssm"))
{
int mapcount = 3;