changing shadow threshold