Added StandardShadowMap to list to test cases
This commit is contained in:
parent
75bd8e9a1e
commit
74d090845f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user