Hybrid QM/MM simulations of the obelin bioluminescence and fluorescence reveal an unexpected light emitter.