Laser heating of a slab having temperature-dependent surface absorptance