Kramers Opacity Law relates a material's Opacity to its density and Temperature. It applies to high temperatures, e.g., in stars, and applies to Bound-Free (Photoionization) and Free-Free (Bremsstrahlung) Absorption of Visible Light and other Electromagnetic Radiation. It states, that for a material:
Opacity ∝ ρ T-3.5
Since opacity is already defined as the value relating density to the rate of reduction of Intensity, within the regime of Kramers Opacity law, the actual reduction, and values such as the Optical Depth depend upon the density squared.
Equations have been developed to provide the constant of proportionality for each of the three above types of absorption, which may be summed. Among the elements of these equations are Mass Fractions, the density, and a Gaunt Factor, a Wavelength-dependent estimate of some Quantum-Mechanical contributions to the opacity. Gaunt factors are incorporated in tractable models of both bound-free and free-free opacity. An additional factor, a Guillotine Factor is also used in modeling bound-free opacity, to account for the difference in opacity between ionized and neutral atoms: in certain temperature ranges, the degree of ionization (and thus this factor) vary a lot by temperature and the name Guillotine suggests the relatively sharp cutoff.
Kramers Law is a different law, also used in astrophysics, that describes the spectrum of bremsstrahlung X-ray radiation.
(Pedantic note: the English-language possessive form of the last name Kramers is Kramers's, but this spelling is apparently rarely used and seems unlikely to be taken up: I choose to use Kramers, perhaps in the sense of Heisenberg Uncertainty Principle or Einstein Tensor.)