Optical properties of interstellar medium