Influence of actual structure on the luminescence of high-temperature superconductors