Optically thick gas