Environmental effects on luminescence yield of superconducting YBa2Cu3Ox