Optical properties of Inhomogeneous materials