Shallow tempering of materials