change noise function for shadow sample