Radiative feedback and cosmic molecular gas: The role of different radiative sources