Light intensity in fiber-optic cables