While dirt on a filter might cut down on the amount of light there should be no change in its spectral response.