A key operation that Medium implementations must perform is to compute the beam transmittance along a given ray.