SampleVarianceShadowMap function with two new parameters