Improved the handling of depth partitioning and orthographic datasets

This commit is contained in:
Robert Osfield
2011-08-25 17:21:38 +00:00
parent 1ad9979cea
commit 966981f100
2 changed files with 93 additions and 32 deletions

View File

@@ -49,7 +49,7 @@ class OSGSHADOW_EXPORT ViewDependentShadowMap : public ShadowTechnique
struct OSGSHADOW_EXPORT Frustum
{
Frustum(osgUtil::CullVisitor* cv);
Frustum(osgUtil::CullVisitor* cv, double minZNear, double maxZFar);
osg::Matrixd projectionMatrix;
osg::Matrixd modelViewMatrix;