Show
Ignore:
Timestamp:
08/29/11 11:59:47 (3 years ago)
Author:
robert
Message:

Added support for setting the MinimumShadowMapNearFarRatio?.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgshadow/osgshadow.cpp

    r12766 r12768  
    838838        if (arguments.read("--unit",unit)) vdsm->setBaseShadowTextureUnit(unit); 
    839839         
     840        double n=0.0; 
     841        if (arguments.read("-n",n)) vdsm->setMinimumShadowMapNearFarRatio(n); 
     842 
    840843        shadowedScene->setShadowTechnique(vdsm.get()); 
    841844    }