Photocatalytic reactor with multiphase digital control of luminous radiation