public void FireShadowTexturesPreCaster( Light light, Camera camera, int iteration )
{
PCZSceneNode camNode = (PCZSceneNode)camera.ParentSceneNode;
if ( light.Type == LightType.Directional )
{
if ( camNode.HomeZone != activeCameraZone )
{
AddPCZSceneNode( camNode, activeCameraZone );
}
}
else
{
PCZSceneNode lightNode = (PCZSceneNode)light.ParentSceneNode;
Debug.Assert( null != lightNode, "Error, lightNode shoudn't be null" );
PCZone lightZone = lightNode.HomeZone;
if ( camNode.HomeZone != lightZone )
{
AddPCZSceneNode( camNode, lightZone );
}
}
//Check: Implementation...
//base.fireShadowTexturesPreCaster(light, camera, iteration);
}