Radiant flux detector