Cosmic light rays and stars