From Wojciech Lewandowski, various tweaks to osgShadow shadow mapping classes to improve consistency and enable more debug info output
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user