From Wojciech Lewandowski, various tweaks to osgShadow shadow mapping classes to improve consistency and enable more debug info output

This commit is contained in:
Robert Osfield
2011-02-23 16:45:44 +00:00
parent c45717fef0
commit 9cfb248b46
12 changed files with 107 additions and 24 deletions

View File

@@ -66,7 +66,7 @@ class OSGSHADOW_EXPORT LightSpacePerspectiveShadowMapDB: public ProjectionShadow
}
/** Declaration of standard OSG object methods */
META_Object( ViewDependentShadow, LightSpacePerspectiveShadowMapDB );
META_Object( osgShadow, LightSpacePerspectiveShadowMapDB );
};
// Optimized for cull traversal shadow bounds
@@ -89,7 +89,7 @@ class OSGSHADOW_EXPORT LightSpacePerspectiveShadowMapCB: public ProjectionShadow
}
/** Declaration of standard OSG object methods */
META_Object( ViewDependentShadow, LightSpacePerspectiveShadowMapCB );
META_Object( osgShadow, LightSpacePerspectiveShadowMapCB );
};
// Optimized for view frustum bounds
@@ -112,7 +112,7 @@ class OSGSHADOW_EXPORT LightSpacePerspectiveShadowMapVB: public ProjectionShadow
}
/** Declaration of standard OSG object methods */
META_Object( ViewDependentShadow, LightSpacePerspectiveShadowMapVB );
META_Object( osgShadow, LightSpacePerspectiveShadowMapVB );
};
typedef LightSpacePerspectiveShadowMapDB LightSpacePerspectiveShadowMap;