When a film (or bulk material) is a composite of different materials, effective medium theory is used to estimate the refractive index of the resulting (combination) film. The easiest example is a porous film, which is assumed to have a refractive index resulting from the mixture of the two. The best known methods are Bruggeman and Maxwell Garnet.